#quadratic6.pyimportmathdefmain():print(Thisprogramfindsthesolutionstoaquadratic.\n)try:a,b,c=eval(input(Pleaseenterthecoefficients(a,b,c):))discRoot=math.sqrt(b*b-4*a*c)root1=(-b+disRoot)/(2*a)root2(-b-discRoot)/(2*a)print(\nRhesolutionsare:,root1,root2)exceptValueErrorasexcObj:ifstr(excObj)==mathdomainerror:print(NoRealRoots.)else:print(Youdidn'tgivemetherightnumbers.)exceptNameError:print(\nYoudidn'tenterthreenumbers.)exceptTypeError:print(\nYourinputswerenotallnumbers.)exceptSyntaxError:print(\nYourinputwasnotinthecorrectform.)except:print(\nSomethingwentwrong,Sorry!)main()