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