On Sep 16, 9:17 pm, Arnaud Delobelle <arno...@gmail.com> wrote:
> Ah go on, let's make a codegolf contest out of it.
> My entry:
>
> >>> sum(map(int,str(2**1000)))

You could save another character by replacing "2**1000" with "2<<999"

--
Mark
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to