Fail to pass one test case in Revising Quadratic equations

I cannot find any error in my code. Test case 2 is failing

Print smaller root first and in case of equal roots print both the roots