Discuss / Python / zy

易建朕

#1 Created at ... [Delete] [Delete and Lock User]
d=math.sqrt(b*b-4*a*c)
x1=(-b+d)/2/a
x2=(-b-d)/2/a
return x1,x2

还是要人去解通解啊 我还以为直接写ax2 + bx + c = 0就能出答案..


  • 1

Reply