[BangPypers] Implementing a fast factorial function in python
Vivek Khurana
hiddenharmony at gmail.com
Tue Sep 15 10:34:11 CEST 2009
On Mon, Sep 14, 2009 at 6:36 PM, Shashwat Anand
<anand.shashwat at gmail.com> wrote:
> How do we calculate last 5-digits of 10**12 ignoring trailing zeros. The
> code i wrote works good until 10**8 and after that take ages.
> The source of problem is Project Euler :
> http://projecteuler.net/index.php?section=problems&id=160
>
> The code is pasted here : http://paste.pocoo.org/show/139745/
I cant understand why are you not using Scipy ?
regards
Vivek
--
The hidden harmony is better than the obvious!!
More information about the BangPypers
mailing list