python looop until true code example
Example 1: python loop until condition met
finished = False
while not finished:
... do something...
finished = evaluate_end_condition()
Example 2: while true python
while True:
doSomething()
finished = False
while not finished:
... do something...
finished = evaluate_end_condition()
while True:
doSomething()