def prod(L): return reduce(lambda x , y : x * y,L) print('3 * 5 * 7 * 9 =', prod([3, 5, 7, 9]))
Sign in to make a reply
__Eugen