W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
# 导入复数数学库 import cmath # 输出复数的常用对数值(以 10 为底) print(cmath.log10(2 + 3j)) print(cmath.log10(1 + 2j))
x
# 导入复数数学库
import
cmath
# 输出复数的常用对数值(以 10 为底)
print
(
cmath
.
log10
(
2
+
3j
))
print
(
cmath
.
log10
(
1
+
2j
))