Описание слайда:
map, filter, reduce: try it counters = [1, 2, 3, 4] list(map((lambda x: x + 3), counters)) pow(3, 4) # 3**4 list(map(pow, [1, 2, 3], [2, 3, 4])) # 1**2, 2**3, 3**4 list(filter((lambda x: x > 0), range(−5, 5))) from functools import reduce reduce((lambda x, y: x + y), [1, 2, 3, 4]) # 10 reduce((lambda x, y: x * y), [1, 2, 3, 4]) # 24 import operator, functools functools.reduce(operator.add, [2, 4, 6]) # 12