Putting asterisks around text
Josh Dukes
josh.dukes at microvu.com
Tue Feb 17 15:30:43 EST 2009
> while understand_problem is False:
> study("textbook")
>
> complete("homework")
>
> if want_help is True:
> study("http://www.catb.org/~esr/faqs/smart-questions.html")
just a note but "if" and "while" evaluate variables as True or False
without a verbose test. e.g.:
while not understand_problem:
study("textbook")
complete("homework")
if want_help:
study("http://www.catb.org/~esr/faqs/smart-questions.html")
Just fyi...
--
Josh Dukes
MicroVu IT Department
More information about the Python-list
mailing list