From fe94dab3d6e28b3323eef30d2be9c05f7d192694 Mon Sep 17 00:00:00 2001 From: AKU Date: Sat, 11 Dec 2021 10:40:55 +0000 Subject: [PATCH] Remove extra debugging code Signed-off-by: AKU --- challenges/2021/11-dumboOctopus/py/__init__.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/challenges/2021/11-dumboOctopus/py/__init__.py b/challenges/2021/11-dumboOctopus/py/__init__.py index 406313c..9bc181a 100644 --- a/challenges/2021/11-dumboOctopus/py/__init__.py +++ b/challenges/2021/11-dumboOctopus/py/__init__.py @@ -14,16 +14,6 @@ def parse(instr: str) -> Cave: return o -def print_cave(cave: Cave): - max_x = max(x for x, y in cave) - max_y = max(y for x, y in cave) - for y in range(max_y + 1): - for x in range(max_x + 1): - print(cave[(x, y)], end="") - print(flush=True) - print() - - def get_adjacent_points(point: Point) -> List[Point]: x, y = point return [