unnested
Pro

© 2026 unnested

Built for learners, by learners

AboutPrivacy PolicyTerms of ServiceContactSuggest a feature
Learn Python

Control Flow

10 questions

OutputEasy
break exits the loop
OutputEasy
Ternary expression result
Multiple choiceEasy
range() upper bound behavior
OutputMedium
Short-circuit evaluation with and
Multiple choice

Sign in to save your progress.

Medium
zip stops at shorter sequence
OutputMedium
continue skips current iteration
OutputMedium
enumerate with start parameter
OutputHard
for/else with and without break
OutputHard
break only exits the innermost loop
OutputHard
range with negative step