连续处理函数reduce

>>> def operat(x,y):
return x*y

>>> print reduce(operat,(1,2,3,4,5,6,7,8,9,10))
3628800

原文地址:https://www.cnblogs.com/L-H-R-X-hehe/p/3826449.html