How to create this in python using for loops?
For input, ask the user for the investment amount, interest rate, and duration min and max.
