Skip to content
Snippets Groups Projects
Commit a60b480a authored by Muhamed Alici's avatar Muhamed Alici
Browse files

Delete Calculator

parent f75f557c
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
from abc import ABC, abstractmethod
class ICalculator(ABC):
@abstractmethod
def add(self, a, b):
pass
@abstractmethod
def sub(self, a, b):
pass
class Calculator(ICalculator):
def add(self, a, b):
return a + b
def sub(self, a, b):
return a - b
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment