- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- QuizzesNew
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
Python quizzes: #loops
7 quizzes about #loops, with an explanation for every answer.
2
For Loops & range()
Easy
Test how for loops walk through sequences and what range() really produces.
Python · Control Flow
#loops#range
10 questions · ~5 min
Not started
Start
3
While Loops
Medium
Trace while loops step by step and spot the ones that never stop.
Python · Control Flow
#loops#while
10 questions · ~6 min
Not started
Start
4
break, continue & loop else
Medium
Predict the output when loops are cut short, skipped or finished with else.
Python · Control Flow
#loops#output-prediction
10 questions · ~6 min
Not started
Start
3
Looping over Dicts
Medium
Loop over keys, values and items, and avoid the classic dict loop mistakes.
Python · Dictionaries & Sets
#dict#loops
10 questions · ~6 min
Not started
Start
1
enumerate, zip & sorted
Easy
Use the built-ins that replace index counters, parallel loops and hand-written sorting.
Python · Pythonic Python
#built-ins#loops#sorting
10 questions · ~5 min
Not started
Start
5
if, switch & Loops
Easy
Trace Java's if statements, switch and loops and predict what they print.
Java · Java Basics
#loops#conditions
10 questions · ~5 min
Not started
Start
5
if, switch & Loops
Easy
Trace if, switch, for, while and do-while in C, including switch fall-through.
C · C Basics
#loops#conditions#switch
10 questions · ~5 min
Not started
Start