Not all repetition has a fixed number of times. Sometimes you repeat until the condition is met, just like filling a glass until it's full.