W3School TIY Editor

  • W3School 在线教程
  • 改变方向
  • 暗黑模式
​x
 
# 导入复数数学库
import cmath
​
# 返回复数的平方根
print(cmath.sqrt(2 + 3j))
print(cmath.sqrt(15))