Mention the similarity and difference between break and continue statements.

Question :

Mention the similarity and difference between break and continue statements.

Similarity: Both break and continue are jump statement.
Difference : The break statement terminates the entire loop body whereas continue statement forces the next iteration of the loop to take place, skipping any code following continue statement in the current iteration of the loop.


CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad