Introduction to Repetition Control Instructions
Learn about the different types of repetition control instructions in Python.
We'll cover the following...
Repetition control instructions help us repeat a set of statements in a program. There are two types of repetition control instructions:
- The
whileloop - The
forloop
Press + to interact
Note: Unlike many other languages, there is no
do-whileloop in Python. ...
Ask