Q. What will be the output of the following code snippet?
Code:
a = [1, 2] print(a * 3)
β
Correct Answer: (D)
[1, 2, 1, 2, 1, 2]
a = [1, 2] print(a * 3)
You must be Logged in to update hint/solution