输出结果不一样
import math def quadratic_equation(a, b, c): t = b * b - 4 * a * c if t >= 0: x = math.sqrt(t) return (-b + x) / 2 * a,(-b - x) / 2 * a else: return 'None' print quadratic_equation(2, 3, 0) print quadratic_equation(1, -6, 5) 这样有问题吗 ? 大神帮忙看看 输出是 0.0, -6.0