[Tutor] Help with Guess the number script

Scott Dunning swdunning at me.com
Wed Mar 12 08:19:31 CET 2014


On Mar 10, 2014, at 11:18 PM, Dave Angel <davea at davea.name> wrote:

>     if guess < secret - 10 or guess > secret - 10:
> 
> Think about that line. You might even want to put in a separate
> function to test what it does.
> HINT: it's wrong.
> 
Got it!  I realized what I was doing wrong.  I needed that plus sign for the too high part of it and what you said helped me figure it out!  Thanks Dave, all you actually!



More information about the Tutor mailing list