Python Programming – John Zelle / Chapter 2 Exercise 6

Suppose you have an investment plan where you invest a certain fixed amount every year. Modify to compute the total accumulation of your investment. The inputs to the program will be the amount to invest every year, the interest rate, and the number of years for the investment.