Need help improving number guessing game
febaen at gmail.com
Tue Dec 16 13:51:58 CET 2008
>The good news is that Python functions are objects too, so you can pass
>them as params to another function.
duh, duh, duh, duh, duh! I knew I was missing something there. Thanks.
>if not mini <= x <= maxi:
also thanks for this, I forgot about that. But I have it as
if not minr < guess < maxr:
because it's to DISALLOW the numbers to stay the same.
>That was just a suggestion, and it would have been pretty
>interesting IMHO as a basis for a "from Q&D procedural scripting to OO
>application programing" tutorial.
Yeah, I can see that.
More information about the Python-list