A
Q. What is the output of the following?
def to_upper(k):
return k.upper()
x = ['ab', 'cd']
print(list(map(to_upper, x)))
- Correct Answer - Option(A)
- Views: 22
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.