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

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -