diff --git a/y_2020/day17.py b/y_2020/day17.py index 78ce8bd..2989908 100644 --- a/y_2020/day17.py +++ b/y_2020/day17.py @@ -65,7 +65,6 @@ def count_active_nb3d(self, ci, cj, ck): for x in range(-1, 2): for y in range(-1, 2): for z in range(-1, 2): - if x == y == z == 0: continue c += self.check_box3d(ck, cj, ci, x, y, z) diff --git a/y_2020/day7.py b/y_2020/day7.py index b5452b2..159eefd 100644 --- a/y_2020/day7.py +++ b/y_2020/day7.py @@ -48,7 +48,6 @@ def _calculate_1(self): def _calculate_2(self): c = 0 for k, bagrules in self.__rules.items(): - self.enhance2(bagrules) for k, bagrule in self.__rules.items(): diff --git a/y_2022/common.py b/y_2022/common.py index 510a062..891ec58 100644 --- a/y_2022/common.py +++ b/y_2022/common.py @@ -70,7 +70,6 @@ def get_file_content(day: str, test): def load_input(day, test) -> List[List[str]]: - raw_string = get_file_content(day, test) if raw_string and raw_string[-1] == "\n":