python until code example
Example 1: python loop until condition met
finished = False
while not finished:
... do something...
finished = evaluate_end_condition()
Example 2: how do you use a while true in python
while True
main():
finished = False
while not finished:
... do something...
finished = evaluate_end_condition()
while True
main():