Slightly fixed Day 1

This commit is contained in:
Logan G 2022-12-02 23:05:27 -07:00
parent 73d71168e0
commit dd53bb6cde
Signed by untrusted user: logan
GPG key ID: E328528C921E7A7A

View file

@ -18,6 +18,6 @@ if __name__ == "__main__":
for i in range(3): for i in range(3):
largest = max(elves, key=elves.get) largest = max(elves, key=elves.get)
top3 += elves[largest] top3 += elves[largest]
elves[largest] = 0 del elves[largest]
print(f'Top 3: {top3}') print(f'Top 3: {top3}')