Solve day 9 part 2

This commit is contained in:
Gabriel Augendre 2020-03-07 11:44:21 +01:00
parent aee6beea29
commit ec29b13c5f

View file

@ -180,7 +180,7 @@ def main():
original_program = list(map(int, input_file.read().split(","))) original_program = list(map(int, input_file.read().split(",")))
computer = Computer(original_program) computer = Computer(original_program)
try: try:
result = computer.compute([1]) result = computer.compute([2])
print(result) print(result)
except StopIteration: except StopIteration:
pass pass