Introduction
The for statement differs from what programmers of C or C++ are used to. The for statement of Python looks a bit like the for loop of the Bash shell.
We often need to go through all the elements of a list or perform an operation over a series of numbers. The Python for statement is the right tool to go easily through various types of lists and ranges. Continue reading For Loops