(PCEP) Certified Entry-Level Python Programmer Practice Test
PCEP Controlling loop execution 2
What happens when a `break` statement is encountered inside a nested `for` loop?
Select your answer
A
It exits all loops immediately
B
It exits only the innermost loop
C
It skips to the next iteration of the outer loop
D
It raises a SyntaxError
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →