表达式求值

a=5
b=8
c=3
x=(-b+pow(b**2-4*a*c,0.5))/(2*a)
print(x)

 

posted @ 2020-03-30 20:56  李嘉豪28  阅读(117)  评论(0)    收藏  举报