diff --git a/1pt2.py b/1pt2.py new file mode 100644 index 0000000..7a387ab --- /dev/null +++ b/1pt2.py @@ -0,0 +1,2 @@ +with open("input1.txt") as f: + print(sum(sorted(map(lambda a: sum(map(lambda b: int(b), a.split('\n'))) , f.read().split("\n\n")))[-3:])) \ No newline at end of file