Python Inserting Variable Interest Rates