648 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
871
871 views
0 0 votes
1 1 answer
686
686 views
1 1 vote
1 1 answer
675
675 views
2 2 votes
1 answers 1 answer
977
977 views
askpython asked Jul 11, 2019
977 views