Factorials

Phil Weldon pweldon at mindspring.com
Fri Sep 19 23:44:18 EDT 2003


You could just use a look-up table; it'd be a lot faster than calculation.
After all, how many factorials could you possible use?  Seventy?

Phil Weldon, pweldon at mindspring.com

"Rogue9" <rogue9 at ntlworld.com> wrote in message news:3ee1e6f1 at shknews01...
> Pardon me but could anyone enlighten me if python2.2 has a math function
> to call to do factorials of integers?If not then is there a code snippet
> for doing such a thing available?I tried to write some code for this
> myself but with little success.
> Thanks
> Lol






More information about the Python-list mailing list