Sep-11-2018, 06:12 PM
(Sep-11-2018, 04:57 PM)ichabod801 Wrote: I expect that exercise is trying to get you to write a loop:As @ichabod801 says, you need a loop. Don't forget to ask the user for the saving amount, and initialise the balance with that amount. Inside the loop, work out and add the interest and then add the saving amount for the next month.
balance = 801 for month in range(6): balance = balance * (1.00417) print(balance)
I am trying to help you, really, even if it doesn't always seem that way