Sum of the factorial of the digits of a number - wierd behaviour

geremy condra debatem1 at gmail.com
Wed Dec 9 15:42:06 EST 2009


> numpy/scipy etc... are quite useful for Euler :)

I've come to love sympy, personally.

> They contain a function to do factorials (and loads more).

>>> from math import factorial
>>> factorial(5)
120

Geremy Condra



More information about the Python-list mailing list