diff --git a/day1/day1.py b/day1/day1.py index 39f4131..4d36409 100644 --- a/day1/day1.py +++ b/day1/day1.py @@ -18,6 +18,6 @@ if __name__ == "__main__": for i in range(3): largest = max(elves, key=elves.get) top3 += elves[largest] - elves[largest] = 0 + del elves[largest] print(f'Top 3: {top3}')