On 2013-05-03, John Gordon <gor...@panix.com> wrote:
> In <auil2vfijo...@mid.individual.net> Neil Cerutti <ne...@norwich.edu> writes:
>
>> Not quite yet. Players who guess correctly on the fifth try don't
>> get credit.
>
> Are you sure?  tries is initialized to zero and isn't
> incremented for the initial guess.

while (number != guess) and (tries < 5):

Is the condition that concludes the game.

After the game, you are told you lost if tries is not less than
five, regardless of if number == guess.

-- 
Neil Cerutti
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to