Slightly fixed Day 1
This commit is contained in:
parent
73d71168e0
commit
dd53bb6cde
1 changed files with 1 additions and 1 deletions
|
@ -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}')
|
||||
|
|
Reference in a new issue