Iterador For

 nombre = "Python"
>>>
>>> i = 0
>>> while i < len(nombre):
...     print(nombre[i])
...     i += 1
...
P
y
t
h
o
n
>>>
>>> for i in nombre:
...     print(i)
...
P
y
t
h
o
n
>>>
>>> range(100)
range(0, 100)

>>> for i in range(10):
...     print(i)
...
0
1
2
3
4
5
6
7
8
9
>>> for i in range(10,20):
...     print(i)
...
10
11
12
13
14
15
16
17
18
19
>>> exit()