Computer Science, asked by negiavantika035, 4 months ago

what will be output of following code L=[1,2]
print(L*2)
(¡)[1,2,1,2]
(¡¡)[1,2,2,1]
(¡¡¡)[1,2,2,2]
(¡v) [1, 1,2,2]

Answers

Answered by shibisunil100
3

Answer:

  1. is the output for print type([1,2]). type is a python function that displays the function type of its contents, Since the elements are enclosed within the square brackets and differentiated with a comma
Similar questions