On Sep 18, 2011 1:20 PM, "Mark Dickinson" <dicki...@gmail.com> wrote: > > 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" >
Excellent! -- Arnaud
-- http://mail.python.org/mailman/listinfo/python-list