Learn Interfaces by Building an Equation Solver - Step 9

Tell us what’s happening:

I am trying to follow the instructions but I must be making a mistake somewhere… I can’t find the error, please help!
Thank you in advance

Your code so far

from abc import ABC, abstractmethod

# User Editable Region

class Equation(ABC):
    def __init__(self, degree):
        self.degree: int
    
    @abstractmethod
    def solve(self):
        pass
        
    @abstractmethod
    def analyze(self):
        pass


class LinearEquation(Equation):
    def solve(self):
        pass

    def analyze(self):
        pass

# User Editable Region

lin_eq = LinearEquation()

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

Challenge Information:

Learn Interfaces by Building an Equation Solver - Step 9

it needs to go inside the class but not inside any method, also without the self

Thank you! I figured it out