from functools import reduce
alist = [2, None, 5, None, None, None, 11, None]
print(reduce(lambda a, n: a * n, filter(lambda x: x, alist)))

5785c92d43d05eeeb16db8b72796fe61501a0ec4
<mask token>

<mask token>
print(reduce(lambda a, n: a * n, filter(lambda x: x, alist)))

<mask token>
alist = [2, None, 5, None, None, None, 11, None]
print(reduce(lambda a, n: a * n, filter(lambda x: x, alist)))

from functools import reduce
alist = [2, None, 5, None, None, None, 11, None]
print(reduce(lambda a, n: a * n, filter(lambda x: x, alist)))
