>>> x = ['A','C','E','F'] >>> for y in x: ... print(y) A C E F
>>> for x in list(range(2,6)): ... print(x) 2 3 4 5