import math a=2 b=7 c=-4 d=(b**2) - (4*a*c) sol1=(-b-math.sqrt(d))/(2*a) sol2=(-b+math.sqrt(d))/(2*a) print('The Solution are {0} and {1}'.format(sol1,sol2))
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more