From 8837b9762332ff0a3f0e9dc360391de1ac4649d0 Mon Sep 17 00:00:00 2001 From: Stefan Harmuth Date: Sat, 10 Dec 2022 10:30:49 +0100 Subject: [PATCH] new getInput() interface --- day01.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day01.py b/day01.py index e705b8a..c6702e8 100644 --- a/day01.py +++ b/day01.py @@ -15,7 +15,7 @@ class Day(AOCDay): def count(self, step: int = 1) -> int: count = 0 - depths = self.getInputListAsType(int) + depths = self.getInput(int) for x in range(step, len(depths)): if depths[x] > depths[x - step]: count += 1