In this tutorial we are going to learn :
- For Loops
- Iterables
- The range () Function
- Nested Loops
Â
Â
Â
For Loop
Â
We use loops for iterating over a sequence ( string, list, tuple, dictionary, set ) or any
other iterable objects
Â
Â
Iterables
Â
Examples of iterating lists and strings.
Â
Example :
Example of iterating a list.