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