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:40:49
SpamBayes Score 0.07894134
Marked as misclassified No
Message-id <1212230452.47.0.392090770882.issue2138@psf.upfronthosting.co.za>
In-reply-to
Content
Or slightly better:

from operator import mul
def factorial(num):
    return reduce(mul, range(2, num+1), 1)
History
Date User Action Args
2008-05-31 10:40:53uzisetspambayes_score: 0.0789413 -> 0.07894134
recipients: + uzi, rhettinger, terry.reedy, jafo, phr, mark.dickinson, dtorp, alanmcintyre, ajaksu2, avalind, ilan
2008-05-31 10:40:52uzisetspambayes_score: 0.0789413 -> 0.0789413
messageid: <1212230452.47.0.392090770882.issue2138@psf.upfronthosting.co.za>
2008-05-31 10:40:51uzilinkissue2138 messages
2008-05-31 10:40:51uzicreate