way to calculate 2**1000 without expanding it?

zombie thatiparthysreenivas at gmail.com
Fri Sep 16 15:21:06 EDT 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