way to calculate 2**1000 without expanding it?

zombie thatiparthysreenivas at gmail.com
Fri Sep 16 21:21:06 CEST 2011

Hi guys,
         i am writing a program to sum up the digits of a number 2**1000?
Is there a way/formula to do it without expanding it?

More information about the Python-list mailing list