Computer Science, asked by dhruba25, 4 months ago

What will be the output of the following code segment?

L1=[10,20,30,40,50]

L2=[3,5,7]

print(L1[:2])

print(L1+L2)

print(L2*2)​

Answers

Answered by sambhavgautam6
0

OUTPUT:-

[10, 20]

[10, 20, 30, 40, 50, 3, 5, 7]

SyntaxError: invalid character in identifier

Similar questions