while not = to python code example
Example 1: python loop until condition met
finished = False
while not finished:
... do something...
finished = evaluate_end_condition()
Example 2: while not command in python
condition = 3
while not (condition == 0) :
print(condition)
condition = condition - 1