650 views

1 Answer

0 0 votes

break allows loop termination when some condition is met and the control is transferred to the next statement. 

continue allows skipping some part of a loop when some specific condition is met and the control is transferred to the beginning of the loop 

pass used when you need some block of code syntactically, but you want to skip its execution. This is basically a null operation. Nothing happens when this is executed. 

Related questions

1 1 vote
1 1 answer
1.1k
1.1k views
1 1 vote
1 1 answer
873
873 views
0 0 votes
1 1 answer
688
688 views
1 1 vote
1 1 answer
676
676 views
2 2 votes
1 answers 1 answer
980
980 views
askpython asked Jul 11, 2019
980 views