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...


_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to