This commit is contained in:
thib8956 committed 2026-11-11 15:36:53 +01:00
1 parent 0232b9326d
commit 5c3fb89870
50 files changed
+97 -117

No files matched your search

+3 -2
View File
@@ -1,7 +1,8 @@
import re
import math
import re
from itertools import cycle
def parse_input(infile):
with open(infile) as f:
content = f.read().rstrip()
@@ -63,8 +64,8 @@ def part2(directions, nodes):
if __name__ == "__main__":
import sys
import os
import sys
SCRIPTPATH = os.path.dirname(os.path.realpath(__file__))
infile = sys.argv[1] if len(sys.argv) == 2 else "example.txt"