MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the code shown below? import functools l=[1,2,3,4] print(functools.reduce(lambda x,y:x*y,l)) |
| A. | Error |
| B. | 10 |
| C. | 24 |
| D. | No output |
| Answer» D. No output | |