Q60
What will be the output of the following Python code? def to_upper(k): k.upper() x = ['ab', 'cd'] print(list(map(to_upper, x)))
A.
['AB', 'CD']
B.
['ab', 'cd']
C.
none of the mentioned
AnswerD.
error
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board