mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 21:00:31 +01:00
Implement day 23
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user