contastantly have a for loop running python code example
Example: how to repeat code in python until a condition is met
a = 1
b = 1
while (a<10):
print ('Iteration',a)
a = a + 1
b = b + 1
if (b == 4):
break
print ('While loop terminated')