unnested
Explore
Pro
Sign in
Learn Python
Control Flow
10 questions
Output
Easy
break exits the loop
Output
Easy
Ternary expression result
Multiple choice
Easy
range() upper bound behavior
Output
Medium
Short-circuit evaluation with and
Multiple choice
Sign in
to save your progress.
Medium
zip stops at shorter sequence
Output
Medium
continue skips current iteration
Output
Medium
enumerate with start parameter
Output
Hard
for/else with and without break
Output
Hard
break only exits the innermost loop
Output
Hard
range with negative step