[BangPypers] Implementing a fast factorial function in python

Anand Chitipothu anandology at gmail.com
Mon Sep 14 15:21:35 CEST 2009


>  16         fac = int(str(fac * i).strip('0')) % 100000

This is ugly hack. Can you think of something more mathematical?

Anand


More information about the BangPypers mailing list