import cmath a = 1 b = 25.44 c = cmath.pi d = 10+10j e = -100 # Method #5 - Square roots of complex numbers a_sqrt = cmath.sqrt(a) b_sqrt = cmath.sqrt(b) c_sqrt = cmath.sqrt(c) d_sqrt = cmath.sqrt(d) e_sqrt = cmath.sqrt(e) # Print print("Method #5 - Square roots of complex numbers") print("--------------------------------------------------") print(f"Square root of {a} = {a_sqrt}") print(f"Square root of {b} = {b_sqrt}") print(f"Square root of {c} = {c_sqrt}") print(f"Square root of {d} = {d_sqrt}") print(f"Square root of {e} = {e_sqrt}")