Summary

Completed

In this module, you learned how to repeat actions in Python using loops.

You used for loops to iterate over ranges and lists a known number of times, and while loops to repeat until a condition changes. You also used break to exit a loop early and continue to skip individual iterations. You applied all of these skills to build a Guess the Number game.

Tip

To continue learning Python, move on to the next module: Organize data with collections.