comment répéter le code en python jusqu'à ce qu'une condition soit remplie

a = 1
b = 1
while (a<10):
  print ('Iteration',a)
  a = a + 1
  b = b + 1
  if (b == 4):
    break
print ('While loop terminated')
Depressed Dogfish