Learn Interfaces by Building an Equation Solver - Step 7

Tell us what’s happening:

I’ve been messing with this one for a while and I’m not sure what I’m missing.

Your code so far


# User Editable Region

from abc import ABC, abstractmethod

class Equation(ABC):
    @abstractmethod
    def solve(self):
        pass
        
    @abstractmethod
    def analyze(self):
        pass
        
class LinearEquation(Equation):
    def solve(self):
        pass

lin_eq = LinearEquation()


# 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/120.0.0.0 Safari/537.36 Edg/120.0.0.0

Challenge Information:

Learn Interfaces by Building an Equation Solver - Step 7

Abstract class Equation has two abstract methods. This means any class inheriting from it needs to have these two methods implemented.

Thank you very much!