執行 ❯
擁有你自己的 Python 伺服器
×
更改方向
更改主題,深色/淺色
前往 Spaces
# Import cmath Library import cmath #Return the square root of a complex number print (cmath.sqrt(2 + 3j)) print (cmath.sqrt(15))
(1.6741492280355401+0.8959774761298381j)
(3.872983346207417+0j)