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