Vidyalelo
Python · Q60

Functions in Python

Programming · Python · question 60

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
Answer
D.
error

Answer: Option C

Solution

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