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
x = 'abcd'
for i in range(len(x)):
print(x)
x = 'a'
You must be Logged in to update hint/solution