主页
Python
Python cmath.cos() 方法
demo_ref_cmath_cos
运行 ❯
×
更改方向
保存代码
更改主题
#import cmath for complex number operations import cmath #find the cosine of a complex number print (cmath.cos(2 + 3j))
(-4.189625690968807-9.109227893755337j)