Step 1 · Challenges
Checkpoint challenges
Five short programs that mix this chapter's for loops, range(), totals and counters with everything from Chapters 1 to 5. Check the first and last time round each loop.
Even total
Add up all the even numbers from 2 to 100 (including 100) and print just the total.
0 of 5 passed. Pass them all to finish the lesson.Next lesson: 7.1 Repeating with while →