Files
advent-of-code-2023/advent_of_code/solver.py

12 lines
220 B
Python

from abc import ABC, abstractmethod
class Solver(ABC):
@abstractmethod
def solve_part_1(self, input: str) -> None:
pass
@abstractmethod
def solve_part_2(self, input: str) -> None:
pass