notethis program crashes if the equation has no real roots import math makes the math library available def main()print("this program finds the real solutions to quadratic"print(abc eval(input("please enter the coefficients (abc)")discroot math sqrt( croot (- discroot( aroot (- discroot( aprint(print("the solutions are:"root root main(this program makes use of the square root function sqrt from the math library module the line at the top of the programimport math tells python that we are using the math module importing module makes whatever is defined in it available to the program to compute xwe use math sqrt(xyou may recall this dot notation from this tells python to use the sqrt function that "livesin the math module in the quadratic program we calculate ac with the line discroot math sqrt( chere is how the program looks in actionthis program finds the real solutions to quadratic please enter the coefficients (abc) - the solutions are - this program is fine as long as the quadratics we try to solve have real solutions howeversome inputs will cause the program to crash here' another example runthis program finds the real solutions to quadratic please enter the coefficients (abc)