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