Step 1 of 1

Step 1 · Challenges

Checkpoint challenges

Five short programs that mix this chapter's while loops, validation and break with everything from Chapters 1 to 6. For each loop, ask yourself what makes it stop.

Rate it in stars

Ask Stars (1-5)? and keep asking while the number isn't from 1 to 5, printing 1 to 5 please. each time. Then print that many stars, like ***.

0 of 5 passed. Pass them all to finish the lesson.Next lesson: 8.1 Letters and indexes →
stars.py

Output

Press Run to see what your program prints.