#import the complex math module import cmath as m print("Enter the value of a ,b ,c respectively(only real numbers):") a=int(input()) b=int(input()) c=int(input()) d=(b**2)-(4*a*c) s1=(-b-m.sqrt(d))/(2*a) s2=(-b+m.sqrt(d))/(2*a) print(f"solution of the quadratic equation {a}x^2+{b}x+{c} are {s1} and {s2}")