I am new to programming. Here I have tried to impose a condition on ‘Delta’ and get back ‘x’ and ‘y’ , for later use in the program
Delta = 18 * a * b * c * d - 4 * (b ** 3) * d + (b2)*(c2) - 4a(c ** 3) - 27 * (a ** 2) * (d2)
if Delta >= 0:
x=2 * (b ** 3) - 9 * a * b * c + 27 * (a2) * d
y=3np.sqrt(3) a * np.sqrt(Delta)
return x, y
But the above code giving return outside error