← Quiz: Python Conditions: all 13 questions
Quiz: Python Conditions · Question 7 of 13
How many branches of an if / elif / elif / else chain can run at most?
How many branches of an if / elif / elif / else chain can run at most?
- A.One
- B.All whose conditions are true
- C.Two
- D.Zero always
Answer & explanation
Correct answer: One
The first true branch runs; the rest are skipped.
Can you get the rest right without peeking?
Take the timed Quiz: Python Conditions quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →