Calculate Big Number

Chris Angelico rosuav at gmail.com
Mon Jan 7 20:15:13 EST 2013


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

Step 1: Find a girl.
Step 2: Tell her she's one in a million.
Step 3: Realize that that implies that there are several thousand
girls just like her.
Step 4: Start calculating large numbers in order to sound mushy and
romantic. If she's a geek, tell her she's one in a googolplex.

ChrisA



More information about the Python-list mailing list