BANK SEBI Grade A Phase 1 & Phase 2 Mock Test 2024 Programming With Python Data Types and Conversion
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)
5
None of the above