import math #math.sqrt()a,b,c= map(int,input().split()); #a,b,c=map(int,input().split())if (b*b)-4*a*c < 0:print("No real root")elif (b*b)-4*a*c >= 0:x1 = (-b+math.sqrt((b*b)-4*a*c))/2*ax2 = (-b-math.sqrt((b*b)-4*a*c))/2*ax1 = int(x1)x2 = int(x2)if x1>x2:print("Two different roots ","x1=",x1,"x2=",x2)elif x2>x1:print("Two different roots ","x2=",x2,"x1=",x1)elif x1==x2:print("Two same roots","x=",x1)
因為.........
好簡單ㄚ