Repeat actions with loops
Beginner
Developer
Student
Visual Studio Code
Learn how to repeat actions in Python using for and while loops, and control loop execution with break and continue.
Learning objectives
After completing this module, you're able to:
- Repeat actions a set number of times using a for loop.
- Repeat actions while a condition is True using a while loop.
- Control loop execution using break and continue.
- Store and iterate over multiple values using lists.