4
What is the output of the following code?
from functools import reduce
print(reduce(lambda a, b: a * b, [1, 2, 3, 4]))Medium
What is the output of the following code?
from functools import reduce
print(reduce(lambda a, b: a * b, [1, 2, 3, 4]))Log in to join the discussion.