num1 = int(input('Enter the value of the savings: ')) print('Starting value:',num1) count = 1 print('After',count,'year:',num1) count += 1 num1 += num1 / 100 * 5 for i in range(9): print('After',count,'years:',num1) count += 1 num1 += num1 / 100 * 5