Python Interest Rate Calculator