From e856869912554814b4b1902f4fa3e384622dc800 Mon Sep 17 00:00:00 2001 From: Stefan Harmuth Date: Fri, 24 Dec 2021 16:15:06 +0100 Subject: [PATCH] day24: remove useless method --- day24.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/day24.py b/day24.py index 77ac48b..dbbd87d 100644 --- a/day24.py +++ b/day24.py @@ -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 = []