Calculate Big Number

Oscar Benjamin oscar.j.benjamin at gmail.com
Mon Jan 7 19:52:33 EST 2013


On 8 January 2013 00:44, Nac Temha <naccttemha at gmail.com> wrote:
> Hello,
> How to quickly calculate large numbers. For example
>>>> (10**25) * (2**50)
> 11258999068426240000000000000000000000000L

I just tested that line in the interpreter and it ran so quickly it
seemed instantaneous (maybe my computer is faster than yours).

Perhaps you could provide more of an explanation about what isn't fast
enough and why?


Oscar



More information about the Python-list mailing list