This is the way "continue" statement works!
You can even write few lines of code and see the output. the best to analyze the flow is to write the code and see what happens and when it happens may be you can use lots of print statement for observing that!
Hope it helps.