We can use a counter variable to control the number of times the loop runs.
There! Now the loop runs as long as number is less than 3.
number
3