Loops are used to iterate within a set of variables. This can either be a list, string, tuple etc.
The two most popular loops are:
- For Loop
- While Loop
For Loop
for loop is used to transverse through a sequence whilst carrying out the given statements on the variables
While Loop
Used to run a specific function whilst a given condition is true
« Conditionals | Functions »