from functools import reduce
my_list = [el for el in range(100, 1001) if el % 2 == 0]
my_func = lambda prev_el, el: prev_el * el
print(reduce(my_func, my_list))

ef08c0aa0ffd2187d0603efbd5dd85686e221510
<mask token>

<mask token>
print(reduce(my_func, my_list))

<mask token>
my_list = [el for el in range(100, 1001) if el % 2 == 0]
my_func = lambda prev_el, el: prev_el * el
print(reduce(my_func, my_list))

from functools import reduce
my_list = [el for el in range(100, 1001) if el % 2 == 0]
my_func = lambda prev_el, el: prev_el * el
print(reduce(my_func, my_list))
