savings = int(input( " Enter the amount of savings you have: " ) ) years = 0 print( " starting value of the savings =", savings ) for years in range(10): years = years + 1 interest = savings*0.05 savings = savings + interest print("After", years, "years:", savings)