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

What will be the output of the following Python code?
Code:
x = ['ab', 'cd']
print(list(map(upper, x)))
A. [‘AB’, ‘CD’]
B. [‘ab’, ‘cd’]
C. error
D. none of the mentioned
 

Tìm kiếm

Back
Top