mirror of
https://github.com/thib8956/advent-of-code.git
synced 2025-08-24 08:21:57 +00:00
accept input file as cmdline argument
This commit is contained in:
@@ -31,4 +31,4 @@ def rotate(l):
|
||||
for j in range(256):
|
||||
numbers = rotate(numbers)
|
||||
numbers[6] += numbers[8]
|
||||
print(f'DAY {j+1} AMOUNT OF FISH: {sum(numbers)}')
|
||||
print(f'DAY {j+1} AMOUNT OF FISH: {sum(numbers)}')
|
||||
|
Reference in New Issue
Block a user