python
import math
def mark(a,b,c):
t = math.sqrt(b * b - 4 * a * c)
if t>=0:
return (-b + t) / (2 * a),( -b - t )/ (2 * a)
else:
return
这个有啥问题么
import math
def mark(a,b,c):
t = math.sqrt(b * b - 4 * a * c)
if t>=0:
return (-b + t) / (2 * a),( -b - t )/ (2 * a)
else:
return
这个有啥问题么
2017-06-19
举报