print("Enter the values in the form of ax^3+bx^2+cx+d")
a=int(input("Enter the value of a = "))
b=int(input("Enter the value of b = "))
c=int(input("Enter the value of c = "))
d=int(input("Enter the value of d = "))
e=int(input("Enter one of the zeroes = "))
p=d+(e*c)+((e**2)*b)+a*(e**3)
x1=(-b-(a*e)+(((b+(a*e))**2)-(4*a*c+(4*a*e*b)+(4*(a**2)*(e**2))))**0.5)/(2*a)
x2=(-b-(a*e)-(((b+(a*e))**2)-(4*a*c+(4*a*e*b)+(4*(a**2)*(e**2))))**0.5)/(2*a)
print("the zeroes of the polynomial are =",x1,",",x2,"&",e)