[Python-3000] Request for prod()

hashcollision hashcollision at gmail.com
Sun Jan 6 10:19:31 CET 2008


I request the addition of prod():

def prod(seq):
     s = 1
     for x in seq:
         s *= x

prod is always as useful as sum()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20080106/8fd30a2c/attachment.htm 


More information about the Python-3000 mailing list