from functools import reduce
nums = [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15]
evens = list(filter(lambda a: a % 2 == 0, nums))
print(evens)
mapping = list(map(lambda a: a * 2, evens))
print(mapping)
reduce1 = reduce(lambda a, b: a + b, mapping)
print(reduce1)

d861bf8614df1c934522ae8fc25bf26428bf6c4f
<mask token>

<mask token>
print(evens)
<mask token>
print(mapping)
<mask token>
print(reduce1)

<mask token>
nums = [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15]
evens = list(filter(lambda a: a % 2 == 0, nums))
print(evens)
mapping = list(map(lambda a: a * 2, evens))
print(mapping)
reduce1 = reduce(lambda a, b: a + b, mapping)
print(reduce1)

from functools import reduce
nums = [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15]
evens = list(filter(lambda a: a % 2 == 0, nums))
print(evens)
mapping = list(map(lambda a: a * 2, evens))
print(mapping)
reduce1 = reduce(lambda a, b: a + b, mapping)
print(reduce1)
