Question 1 of 7
When several case patterns could match, which case is selected first?
Python tests case blocks in order and selects the first successful pattern.
Review this lesson
Check your understanding of match, capture and value patterns, class patterns, guards, and OR patterns.
Knowledge check
Check your understanding of match, capture and value patterns, class patterns, guards, and OR patterns.
You can retake this quiz whenever you like.
Question 1 of 7
Question 2 of 7
Question 3 of 7
Question 4 of 7
Question 5 of 7
Question 6 of 7
Question 7 of 7