What will be the output of the following Python code?
import functools
l=[1,2,3,4]
print(functools.reduce(lambda x,y:x*y,l))
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: Option C

Join The Discussion