Loop until condition is true
maxilys at SPAMCOP_tele2.fr
Sat Jun 18 07:28:52 CEST 2005
There is always a "nice" way to do things in Python but this time I can't
What I'm trying to achieve is a conditionnal loop of which the condition
test would be done at the end so the loop is executed at least once. It's
some way the opposite of "while".
So far, all I got is:
if final_condition is True:
What I don't find so "nice" is to have to build an infinite loop only to
Is there a better recipe?
maxilys_ at _tele2.fr
More information about the Python-list