Write any one point of difference between break and continue statement in python
Answers
Answered by
0
Answer:
A continue statement will stop the current execution when used inside a loop, and the control will go back to the start of the loop.
Answered by
0
Answer:
The Python break statement stops the loop in which the statement is placed. A Python continue statement skips a single iteration in a loop. Both break and continue statements can be used in a for or a while loop.
The major difference between break and continue statements in C language is that a break causes the innermost enclosing loop or switch to be exited immediately. Whereas, the continue statement causes the next iteration of the enclosing for , while , or do loop to begin.
Explanation:
Mark as brainlest please
Similar questions