day24: remove useless method

This commit is contained in:
Stefan Harmuth 2021-12-24 16:15:06 +01:00
parent 1bd309732b
commit e856869912

View File

@ -41,19 +41,6 @@ class Day(AOCDay):
test_solutions_p1 = [99598963999971]
test_solutions_p2 = [93151411711211]
def getDigitInstr(self):
instructions = []
this_instr = []
for instr in self.getInputAsArraySplit(" "):
if instr[0] == "inp" and this_instr:
instructions.append(this_instr)
this_instr = []
this_instr.append(instr)
instructions.append(this_instr)
return instructions
def getInputNumbers(self):
pushpull = []
adders = []