def prod(L): def mul(x,y): return x*y return reduce(mul,L) num = prod([3,5,7,9]) print(num)
Sign in to make a reply
oy-冲弱