Python Practice Test
Python Control Flow: Loops 2
What does the `else` clause of a `for` loop execute?
Select your answer
A
Only if the loop body raised an exception
B
Only if the loop completed without a `break`
C
Only if the loop ran zero iterations
D
Only if the loop ran at least one iteration
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 PYTHON Flashcards — Study This Quiz as Flip Cards →
📚 Want to go deeper? Read the Full PYTHON Study Guide →