Q. What will be the output of the following Python code?
Code:
x = 'abcd'
for i in range(len(x)):
print(i)
β
Correct Answer: (C)
0 1 2 3
x = 'abcd'
for i in range(len(x)):
print(i)
You must be Logged in to update hint/solution