0
Can somebody explain me the algorithm behind continue and how its working here
2 Answers
+ 3
the continue statement jumps back to the beginning of the loop without finishing its current iteration over the loop code block. Itâs like âskip the rest of this round, but donât quit. Keep going.â
itâs sister statement, the âbreakâ statement, cuts off the loop code and exits the loop. âContinueâ is more gentle.
+ 1
Visualize code execution
https://pythontutor.com