For Loops Quiz
Check what you learned in the For Loops lesson. Every question explains the answer, so even a wrong answer teaches you something.
- 15 questions, picked from a pool of 104
- About 12 minutes
- Instant feedback
What this quiz covers
- Looping over a list (opens in a new tab)
- Looping over a string (opens in a new tab)
- range(): looping a number of times (opens in a new tab)
- Building up a result (opens in a new tab)
- Using if inside a loop (opens in a new tab)
- enumerate(): position and value together (opens in a new tab)
- zip(): two lists side by side (opens in a new tab)
- Looping over a dictionary (opens in a new tab)
- break and continue (opens in a new tab)
Know something worth teaching? Write your own tutorial with runnable examples and share it.
Want to test your friends or students? Build your own Python quiz with the same question types and share it with a link.
Create a quiz