break vs continue in Python
Both change loop flow, but not the same way. break leaves the loop. continue skips only this round. Print 1..5, skip 3 → continue: 1 2 4 5. Stop at 3 → break: 1 2. Same for-loop, two keywords, two printed lines. That pair is the whole topic.
Don’t mix the words in the viva. “continue exits the loop” is a fail. One sentence each, then the 1..5 mental example.
break vs continue in Python — output — 1 then 3. 2 skipped, 4 breaks, 5 never runs.
Same loop, two keywords, two outputs.