News

In the following example, we loop through a list of numbers, and use the variable digit to hold each number in turn: for digit in [3,1,4,1,5,9]: ... a 1 b 2 Common Python for loops.