Μετατρέψτε την for σε ισοδύναμη while
for i in range(12,10,-1):
print i
i=12
while i<10:
i=i-1
while i>10:
i=i+1