REPEAT... UNTIL ?

Terry Reedy tjreedy at udel.edu
Thu Jul 4 10:15:28 EDT 2002


"Ville Vainio" <vvainio at tp.spt.fi> wrote in message
news:ad496f8.0207040602.3670c1c1 at posting.google.com...
> Strangely enough, while 1 - loop is quite often the most intuitive
way
> to do things, yet it's (implicitly) frowned upon in many programming
> language cultures.

When I first learned Python, I found it somewhat grating, but I have
since learned to think of 'while 1' as a spelling for 'loop' and 'if
<condition> break' as a corresponding spelling for 'while not
<condition>' (and vice versa for 'not' reversed).

TJR





More information about the Python-list mailing list