31. What will be the output of the following Python code snippet?
a = [0, 1, 2, 3]
for a[0] in a:
print(a[0])
a = [0, 1, 2, 3]
for a[0] in a:
print(a[0])