python iterate with loop code example
Example 1: how to use iteration in python
>>> a = ['foo', 'bar', 'baz']
>>> for i in a:
... print(i)
...
foo
bar
baz
Example 2: how do i make a for loop in python
for i in range(0, 10):
#do stuff
pass