主页
Python
Python cmath.tanh() 方法
demo_ref_cmath_tanh
运行 ❯
×
更改方向
保存代码
更改主题
#Import cmath Library import cmath #Return the hyperbolic tangent of a complex number print (cmath.tanh(2 + 3j))
(0.965385879022133-0.009884375038322495j)