Please Help Explain

Timo Virkkala a at a.invalid
Fri Nov 7 09:28:08 CET 2003


Lucik wrote:

> n=0
>     while you_wish_to_eat
>         # eat couple of hotdogs
>         n = n+2
>     return n # total number of hotdogs
> 

No. The idea was to double the amount, not add 2 to it.




More information about the Python-list mailing list