On Mon, Sep 14, 2009 at 6:36 PM, Shashwat Anand <anand.shash...@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!! _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers