Question Detail
Question
Which of the following accurately describes a difference between
break and continue statements in Python loops?
Correct Answer
Option B is the correct answer.
Detailed Explanation
Page 104 clearly states: 'break' terminates the execution of remaining iteration of the loop. 'continue' terminates only the current iteration of the loop. Also, 'break' stops the continuation of loop. 'continue' do not stops the continuation of loop, it only stops the current iteration.
Hint
One exits the loop completely, the other just skips to the next cycle.