a,b,c=map(int, input().split())d=b**2-4*a*cif d>0 :x1=int((-b+d**0.5)//(2*a))x2=int((-b-d**0.5)//(2*a))print("Two same roots ","x1=",x1," , ","x2=",x2)if d==0 :x=int((-b+d**0.5)//(2*a))print("Two different roots ","x=",x)if d<0 :print("No real root")
多了一些空格,而且same跟different顛倒了