till python code example
Example 1: python loop until condition met
finished = False
while not finished:
... do something...
finished = evaluate_end_condition()
Example 2: python repet x time
for i in range(50):
print "Some thing"
finished = False
while not finished:
... do something...
finished = evaluate_end_condition()
for i in range(50):
print "Some thing"