+ 1
Continue and break
-What’s the different between continue and break? -When we use them ?
2 ответов
+ 5
Also go through the Python course on SoloLearn:
https://www.sololearn.com/learn/Python/2281/
+ 6
Osama Alrowhani
The BREAK statement terminates the loop containing it. The CONTINUE statement is used to skip the rest of the code inside a loop for the current iteration only. Loop does not terminate but continues on with the next iteration.