Computer Science, asked by shajiktr96, 7 months ago

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 rishika4466
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 mdsaifquraishi
3

Answer:

[1,2,3,'4','5']

3

[1]

[4,5,6]

Similar questions