The basics · Loops
Doing it again
`for` repeats over a range; `while` repeats until a condition is false. · 10 minutes
Predict first
How many numbers does this print?
1for i in range(5):2print(i)
The basics · Loops
`for` repeats over a range; `while` repeats until a condition is false. · 10 minutes
Predict first
How many numbers does this print?
1for i in range(5):2print(i)