Python Replace Class Method Example In Python A Floating Point