From ea5dacf69c26939c5dd67e0c45467983b0a279c1 Mon Sep 17 00:00:00 2001 From: HeNine <> Date: Sat, 2 Dec 2023 09:51:06 +0100 Subject: [PATCH] Opps whoops some cleanup --- day02/task1.py | 1 - day02/task2.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/day02/task1.py b/day02/task1.py index a6db741..b6ced79 100644 --- a/day02/task1.py +++ b/day02/task1.py @@ -40,7 +40,6 @@ def process_input(infile): b = max(b, pb) if r <= 12 and g <= 13 and b <= 14: - # print(f"Game {game[0]} legal.") id_sum += game[0] return id_sum diff --git a/day02/task2.py b/day02/task2.py index d5e68bb..9bbae4b 100644 --- a/day02/task2.py +++ b/day02/task2.py @@ -52,4 +52,4 @@ with open("day02/data/input100.txt") as infile: with open("day02/data/input101.txt") as infile: result = process_input(infile) print(result) - # print(result == 2512) + print(result == 67335)