[Tutor] Euler Problem 6

kinuthia muchane muchanek at gmail.com
Thu Apr 24 22:32:52 CEST 2008


Hi,

I think I need to be more careful in the future. This line 
 
return sum([k*k for k in range(1,111)])

should be:

return sum([k*k for k in range(1,101)]).

... and this one

sum([k for k in range(1,101))

also changes to:

sum([k for k in range(1,101))

Kinuthia...




More information about the Tutor mailing list