Q. What will be the output of the following Python code snippet?
Code:
x = 'abcd'
for i in range(len(x)):
print(x)
x = 'a'
β
Correct Answer: (D)
none of the mentioned