This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author uzi
Recipients ajaksu2, alanmcintyre, avalind, dtorp, ilan, jafo, mark.dickinson, phr, rhettinger, terry.reedy, uzi
Date 2008-05-31.10:33:31
SpamBayes Score 0.0519047
Marked as misclassified No
Message-id <>
It's a simplified version, but why not something like this:

import operator
def factorial(num):
    return reduce(operator.mul, range(1, num+1))

A product() function could also be done similarly.
Date User Action Args
2008-05-31 10:33:34uzisetspambayes_score: 0.0519047 -> 0.0519047
recipients: + uzi, rhettinger, terry.reedy, jafo, phr, mark.dickinson, dtorp, alanmcintyre, ajaksu2, avalind, ilan
2008-05-31 10:33:34uzisetspambayes_score: 0.0519047 -> 0.0519047
messageid: <>
2008-05-31 10:33:33uzilinkissue2138 messages
2008-05-31 10:33:32uzicreate