Run »
# 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)