[Tutor] count time limit

Kent Johnson kent37 at tds.net
Tue Feb 16 19:44:18 CET 2010


On Tue, Feb 16, 2010 at 11:54 AM, Shurui Liu (Aaron Liu)
<shurui91 at gmail.com> wrote:
>
>  Modify the guess_my_number.py program to limit the number of guesses to ten (10).
>
>    Tell the user up front that they have ten guesses.
>
>
> After each guess, tell the user that they have ___ guesses remaining.
>
> Here are the requirement of my assignment. I want to ask the third one: what
> is the command for this mission? Cause I don't even know how to google it.

Sigh. Still asking us to do your homework for you...

What do you know about looping and conditionals and variables?

Kent


More information about the Tutor mailing list