in Python by
What is the output of the following?

x = 'abcd'
for i in x:
    print(i.upper())

a. A B C D
b. a b c d
c. a B C D
d. error
...