Python Inserting Variable Interest Rate