Python Inserting Variable Interest Loan