money = int(input("Enter the value of savings:")) print("Starting value:", money) year1 = (money * 1.05) year2 = year1 + (year1 * 1.05) year3 = year2 + (year2 * 1.05) year4 = year3 + (year3 * 1.05) year5 = year4 + (year4 * 1.05) year6 = year5 + (year5 * 1.05) year7 = year6 + (year6 * 1.05) year8 = year7 + (year7 * 1.05) year9 = year8 + (year8 * 1.05) year10 = year9 + (year9 * 1.05) print("After 1 year:", year1) print("After 2 year:", year2) print("After 3 year:", year3)