Python wiederholen sich bis
// Will repeat until x is greater than 5
x = 0
while x <= 5:
print(x)
x+=1
Bob7012
// Will repeat until x is greater than 5
x = 0
while x <= 5:
print(x)
x+=1
a = 1
b = 1
while (a<10):
print ('Iteration',a)
a = a + 1
b = b + 1
if (b == 4):
break
print ('While loop terminated')