[Tutor] value of 'e'

Lie Ryan lie.1296 at gmail.com
Tue Nov 24 13:38:28 CET 2009


Wayne Werner wrote:
> You
> might try writing your own factorial function that works with the 
> decimal type and compare with the result you get from using the math 
> library.

There is no need for that, math.factorial will use python int/long 
object instead of the platform's integer as necessary.




More information about the Tutor mailing list