Solving Quadratic Equation in easiest way using Python