diff --git a/5/advent_1.py b/5/advent_1.py new file mode 100755 index 0000000..f177f7f --- /dev/null +++ b/5/advent_1.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python3 + +from dataclasses import dataclass + +@dataclass +class Range: + start: int + last: int + +with open("data.txt") as file: + lines = [line.rstrip() for line in file] + +state = "seeds" +for i in lines: + match state: \ No newline at end of file