Discuss / Python / 交作业

交作业

Topic source

 x1=(-b+math.sqrt(b**2-4*a*c))/(2*a)

 x2=(-b-math.sqrt(b**2-4*a*c))/(2*a)

 return x1,x2

弄个p名字

#2 Created at ... [Delete] [Delete and Lock User]

我跟你一样,但是老是报错

弄个p名字

#3 Created at ... [Delete] [Delete and Lock User]

找到问题了sqrtrua拼错了


  • 1

Reply