a = 2 b = -7 c = 3 delta = b**2 - 4*a*c x1 = (-b + (delta)**0.5) / (2*a) x2 = (-b - (delta)**0.5) / (2*a) print("x1 =", x1) print("x2 =", x2)