Get your own Python server Result Size: 625 x 565
x
 
# 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