Question
What is the output of the following?def to_upper(k): k.upper()x = ['ab', 'cd']print(list(map(to_upper, x)))
Answer: Option C
Was this answer helpful ?
A list of Nones is printed as to_upper() returns None.
Was this answer helpful ?
More Questions on This Topic :
Question 7. What does os.getlogin() return? ....
Submit Solution