how to loop until a condition is met for loops python code example
Example: python loop until condition met
finished = False
while not finished:
... do something...
finished = evaluate_end_condition()
finished = False
while not finished:
... do something...
finished = evaluate_end_condition()