Learn Interfaces by Building an Equation Solver - Step 44

Tell us what’s happening:

I don’t understand, where does the code go wrong?
Is there something that I miss?

Your code so far


# User Editable Region

def analyze(self):
        a, b, c = self.coefficients.values()
        x = -b / (2 * a)
        y = a * x**2 + b * x + c
       
        return {'x': x, 'y': y}


# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0

Challenge Information:

Learn Interfaces by Building an Equation Solver - Step 44

You should return a dictionary containing two keys, 'x' , and 'y' , and the corresponding values of vertex x and y coordinates, respectively.
This is the what I get the response/hint while running the code

why is your function outside the class?

Even after correcting the indent, the hint is still same.

I refreshed it, it was a glitch.