Superb! That's a mighty fine looking for loop.
To stop the loop when i is less than 5, we'll need to assemble i < 5 as the condition.
i
5
i < 5