MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following?def to_upper(k): return k.upper()x = ['ab', 'cd']print(list(map(to_upper, x))) |
| A. | [„AB‟, „CD‟]. |
| B. | [„ab‟, „cd‟]. |
| C. | none of the mentioned |
| D. | error |
| Answer» B. [„ab‟, „cd‟]. | |