Vidyalelo
Python · Q44

Functions in Python

Programming · Python · question 44

Q44

What will be the output of the following Python code? def to_upper(k): return k.upper() x = ['ab', 'cd'] print(list(map(upper, x)))

A.
['AB', 'CD']
B.
['ab', 'cd']
C.
none of the mentioned
D.
error
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board