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