i = 1 #inicializador
while i < 10: #verifica a condição
print(i) #o corpo, a ação
i += 2 #o passo de "incremento"
i = 10 #inicializador
while i > 0: #verifica a condição
print(i) #o corpo, a ação
i -= 1 #o passo de "incremento"
for i in range(1, 10, 2):
print(i)
for i in range(10, 1, -1):
print(i)
#https://pt.stackoverflow.com/q/50649/101
aSA9IDEgI2luaWNpYWxpemFkb3IKd2hpbGUgaSA8IDEwOiAjdmVyaWZpY2EgYSBjb25kacOnw6NvCiAgICBwcmludChpKSAjbyBjb3JwbywgYSBhw6fDo28KICAgIGkgKz0gMiAjbyBwYXNzbyBkZSAiaW5jcmVtZW50byIKCmkgPSAxMCAjaW5pY2lhbGl6YWRvcgp3aGlsZSBpID4gMDogI3ZlcmlmaWNhIGEgY29uZGnDp8OjbwogICAgcHJpbnQoaSkgI28gY29ycG8sIGEgYcOnw6NvCiAgICBpIC09IDEgI28gcGFzc28gZGUgImluY3JlbWVudG8iCgpmb3IgaSBpbiByYW5nZSgxLCAxMCwgMik6CiAgICBwcmludChpKQoKZm9yIGkgaW4gcmFuZ2UoMTAsIDEsIC0xKToKICAgIHByaW50KGkpCiAgICAKI2h0dHBzOi8vcHQuc3RhY2tvdmVyZmxvdy5jb20vcS81MDY0OS8xMDE=