Implement day 23

This commit is contained in:
2021-07-03 17:57:40 +02:00
parent 3f8c9505c3
commit ca43475a44
2 changed files with 81 additions and 0 deletions

View File

@@ -76,6 +76,9 @@ class Computer:
def get_output(self) -> int:
return self.output.popleft()
def send_input(self, data: int):
self.input.append(data)
def _execute_current(self) -> bool:
"""
Execute a single instruction