Taylor Series In Python Code