1.

What is the output of the following? 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» E.


Discussion

No Comment Found