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