?
What will be the output of the following Python code?
What will be the output of the following Python code?
a=[[]]*3
a[1].append(7)
print(a)
a=[[]]*3
a[1].append(7)
print(a)
Join the Discussion
Login to post a comment or share your explanation.
Login