a=float(input('a='))
b=float(input('b='))
c=float(input('c='))
a=1
b=1
c=1
from sympy import *
x = Symbol('x')
print(solve([a*x**2+b*x+c],[x]))
[(-0.5 - 0.866025403784439*I,), (-0.5 + 0.866025403784439*I,)]
a=float(input('a='))
b=float(input('b='))
c=float(input('c='))
a=1
b=1
c=1
from sympy import *
x = Symbol('x')
print(solve([a*x**2+b*x+c],[x]))
[(-0.5 - 0.866025403784439*I,), (-0.5 + 0.866025403784439*I,)]