Defining interest rate array in python -
i trying create mortgage calculator on python can cope multiple interest rate changes.
i want recalculate repayment formula every month, new interest rate.
what best way define array of interest rates?
say had 20 year mortgage, array need 240 entries, change @ time, seems there must quicker way typing out y=(0.01,0.01,0.01,0.015,0.015,0.02,0.015,0.02,0.02..)
etc
Comments
Post a Comment