MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the code shown? l=[1, 2, 3, 4, 5] m=map(lambda x:2**x, l) print(list(m)) |
| A. | [1, 4, 9, 16, 25 ] |
| B. | [2, 4, 8, 16, 32 ] |
| C. | [1, 0, 1, 0, 1] |
| D. | Error |
| Answer» C. [1, 0, 1, 0, 1] | |