diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-17 14:24:55 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-17 14:24:55 +0100 |
commit | 7daceb30d1f19876af79a617a33792b20d85c028 (patch) | |
tree | b38ceedc940e8cbd1ab8bddfa6bc7a059ed553eb /2022 | |
parent | 480c0f61b440c7db047de512c37b3238fad0f672 (diff) | |
download | advent-of-code-7daceb30d1f19876af79a617a33792b20d85c028.tar.gz advent-of-code-7daceb30d1f19876af79a617a33792b20d85c028.tar.bz2 advent-of-code-7daceb30d1f19876af79a617a33792b20d85c028.zip |
Remove python version of puzzle 1
Lisp version is satisfactory.
Diffstat (limited to '2022')
-rw-r--r-- | 2022/puzzle-1.py | 8 |
1 files changed, 0 insertions, 8 deletions
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:])}") - - |