Discuss / Python / 功能实现以下

功能实现以下

Topic source
d = b * b - 4 * a *c
if d > 0:
    return ((-b) + math.sqrt(d))/(2 * a),((-b) - math.sqrt(d))/(2 * a)
elif d < 0:
    return None

  • 1

Reply