count = 1 savings = int(input("Enter the value of the savings: ")) print("Starting value:", savings) while count != 2 : savings = savings + (savings/100)*5 print("After", count, "year: ", savings) count = count+1 while count > 1 and count != 11 : savings = savings + (savings/100)*5 print("After", count, "years: ", savings) count = count+1