If we have Two Python lists as follow :

L1=[11,22,33]
L2=[44,55,66]
If we want to generate a list L3 as
L3= [11,22,33,44,55,66]
Then suitable Python command out of the following is:

1
L3 = L1 + L2
2
L3 = L1.append(L2)
3
L3 = L1.extend(L2)
4
L3 = L1.update(L2)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation