u = 1240 for n in range(5): print(n,u) u = u-0.15*u