Vidyalelo
Python · Q96

Functions in Python

Programming · Python · question 96

Q96

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))

A.
Error
B.
10
C.
24
Answer
D.
No output

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board