savings = int(input("Enter the value of the savings:")) years = 1 print("Starting value:", savings) while years < 11: print("After", years, "years", savings * 1.05) savings = savings * 1.05 years = years + 1