skip to content
promptdojo
_
[ save your spot ]
[ follow on x ]
elif chains and the match statement Cursor reaches for — step 4 of 9
ch 05 · conditionals
4/9
promptdojo
_
›
phase 01 · foundations
›
ch 05 · conditionals
lesson 2 of 2 · elif chains and the match statement cursor reaches for
step 4 of 9 in this lesson
Walk through the chain top to bottom. Which branch fires for
age = 17
?
your prediction
Check prediction
Or run the code →
Show hint 1
ch 05 · conditionals
4/9
promptdojo
_
›
phase 01 · foundations
›
ch 05 · conditionals
lesson 2 of 2 · elif chains and the match statement cursor reaches for
step 4 of 9 in this lesson
Walk through the chain top to bottom. Which branch fires for
age = 17
?
your prediction
Check prediction
Or run the code →
Show hint 1
park a thought