savings = int(input( "Enter the value of the savings: " )) 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)