from functools import reduce
y = reduce(lambda a, b: a + b , [1, 2, 3, 4])
print(y) Post #60
190
Что выведет код?
MA Machinelearning tests @machinelearningtest · 661 subscribers from functools import reduce
y = reduce(lambda a, b: a + b , [1, 2, 3, 4])
print(y)