From f78e360886133882b86eaca9e0009893590d7e76 Mon Sep 17 00:00:00 2001 From: Frederik Baerentsen Date: Tue, 12 Dec 2023 21:38:20 +0100 Subject: [PATCH] Working on 2023-12-12 p1 --- 2023/day12/part1.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/2023/day12/part1.py b/2023/day12/part1.py index 5c25c8f..69eea22 100644 --- a/2023/day12/part1.py +++ b/2023/day12/part1.py @@ -11,7 +11,7 @@ grid = [] with open(sys.argv[1]) as file: for line in file: - grid.append(line.rstrip().split()) - -pprint(grid) - + parts,groups = line.rstrip().split() + + print(parts) + print(groups)