What is the output of the following?
def to_upper(k):
k.upper()
x = [‘ab’, ‘cd’]
print(list(map(to_upper, x)))

What is the output of the following?
def to_upper(k):
k.upper()
x = [‘ab’, ‘cd’]
print(list(map(to_upper, x)))​

About the author
Kylie

2 thoughts on “What is the output of the following?<br />def to_upper(k):<br />k.upper()<br />x = [‘ab’, ‘cd’]<br />print(list(map(to_upper, x)))”

Leave a Reply to Parker Cancel reply