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 dtorp
Recipients dtorp
Date 2008-02-18.10:09:26
SpamBayes Score 0.12474237
Marked as misclassified No
Message-id <>
Add a factorial method.  Everybody understands what it means before 
they are out of high school and it comes up all the time in statistics 
and combinatorics.  Ruby has a factorial method and heck even basic 
calculators have a factorial key.

print n.factorial()

Maybe raise ValueError if n is negative.
Date User Action Args
2008-02-18 10:09:29dtorpsetspambayes_score: 0.124742 -> 0.12474237
recipients: + dtorp
2008-02-18 10:09:28dtorpsetspambayes_score: 0.124742 -> 0.124742
messageid: <>
2008-02-18 10:09:27dtorplinkissue2138 messages
2008-02-18 10:09:27dtorpcreate