Run »
# Import math Library import math # Return the hyperbolic tangent of different numbers print(math.tanh(8)) print(math.tanh(1)) print(math.tanh(-6.2))
0.9999997749296758
0.7615941559557649
-0.9999917628565104