主页
Python
Python cmath.log() 方法
demo_ref_cmath_log
运行 ❯
×
更改方向
保存代码
更改主题
#Import cmath Library import cmath #print log value of some given parameters print (cmath.log(1+ 1j)) print (cmath.log(1, 2.5))
(0.34657359027997264+0.7853981633974483j)
0j