>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. -- http://mail.python.org/mailman/listinfo/python-list