From 7daceb30d1f19876af79a617a33792b20d85c028 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 17 Oct 2023 14:24:55 +0100 Subject: Remove python version of puzzle 1 Lisp version is satisfactory. --- 2022/puzzle-1.py | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 2022/puzzle-1.py diff --git a/2022/puzzle-1.py b/2022/puzzle-1.py deleted file mode 100644 index 19ccfe2..0000000 --- a/2022/puzzle-1.py +++ /dev/null @@ -1,8 +0,0 @@ -inp = None -with open('1-input', 'r') as fp: - inp = fp.read() -sums = sorted([sum([int(entity) for entity in entity_str.split("\n") if entity != '']) for entity_str in inp.split("\n\n")]) -print(f"round 1: {sums[-1]}") -print(f"round 2: {sums[-1]} {sums[-2]}, {sums[-3]}, {sum(sums[-3:])}") - - -- cgit v1.2.3-13-gbd6f