Что выведет код?
from functools import reduce
y = reduce(lambda a, b: a + b , [1, 2, 3, 4])
print(y)
from functools import reduce
y = reduce(lambda a, b: a + b , [1, 2, 3, 4])
print(y)