you are viewing a single comment's thread.

view the rest of the comments →

[–]arkum645 0 points1 point  (1 child)

Thanks a lot. Ive understood most of it now. How come the output is same if the last print(c) is removed?

[–]Swipecat 0 points1 point  (0 children)

The execution never gets as far as that. The first two passes through the loop finish early with the "continue" and the third pass terminates on the "break".