def calc_prod(lst):? ? ?def f(x,y):? ? ? ? ?return x*y? ? ?return reduce(f,lst,1)f = calc_prod([1, 2, 3, 4])print f() 查看完整描述