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
3
Answer:
- 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