Question
What is the output of the following?x = 'abcd'for i in x: print(i.upper())
Answer: Option B
Was this answer helpful ?
The instance of the string returned by upper() is being printed.
Was this answer helpful ?
Submit Solution