from functools import reduce foo = range(1,5) print(reduce(lambda x,y : x*y,foo()))
foo 不是一个方法函数, 不用带括号