variable assignment in "while" loop

Skip Montanaro skip at pobox.com
Tue Jul 29 12:08:10 EDT 2003


    Sybren> Is it possible to use an assignment in a while-loop?

Nope.  To learn why, read question 6.30 of the FAQ:

    http://www.python.org/cgi-bin/faqw.py?req=show&file=faq06.030.htp

Skip





More information about the Python-list mailing list