6. Find the output of the following:
L1= [1, 2, 3]
L2=[4,5,6)
print(Ll+ list ("45").)
print(Ll.pop())
L1.remove (2)
print(L1)
L1.extend (L2)
print(L2)
Answers
Answered by
2
Answer:
Find the output of the following:
L1= [1, 2, 3]
L2=[4,5,6)
print(Ll+ list ("45").)
print(Ll.pop())
L1.remove (2)
print(L1)
L1.extend (L2)
print(L2)
Answered by
3
Answer:
[1,2,3,'4','5']
3
[1]
[4,5,6]
Similar questions