Examveda

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

A. ['AB', 'CD']

B. ['ab', 'cd']

C. error

D. none of the mentioned

Answer: Option C


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python