結果 : function to solve quadratic equation in python