?
What will be the output of the following Python code snippet?
What will be the output of the following Python code snippet?
a = [0, 1, 2, 3]
for a[-1] in a:
print(a[-1])
a = [0, 1, 2, 3]
for a[-1] in a:
print(a[-1])
Join the Discussion
Login to post a comment or share your explanation.
Login