News for hackers. Stuff that matters.
Re:The Python IAQ: Infrequently Answered Questions by d0mine on Friday November 12, 2010 @01:29PM (#1898589)

   from math import factorial
Or

   fact = lambda n: reduce(operator.mul, xrange(1, n+1), 1)

There are no comments on this comment yet.