python loop until a condition is met 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()