diff --git a/3-2-prepare-the-bunnies-escape.py b/3-2-prepare-the-bunnies-escape.py index 3e6af20..870abfa 100644 --- a/3-2-prepare-the-bunnies-escape.py +++ b/3-2-prepare-the-bunnies-escape.py @@ -1,12 +1,6 @@ infinity = float('inf') -# def printMatrix(arr): -# for i in arr: -# print(i) -# print("") - - def findNavigableNeighbours(position, matrix): cols = len(matrix) rows = len(matrix[0]) @@ -89,8 +83,6 @@ def solution(matrix): newMatrices = [] - # printMatrix(matrix) - result.append(findLeastNumberOfMoves(matrix)) for col in range(cols): @@ -100,8 +92,6 @@ def solution(matrix): if value == 1: possibleWallRemovingPositions.append((col, row)) - # printMatrix(possibleWallRemovingPositions) - for position in possibleWallRemovingPositions: col, row = position newMatrix = [[num for num in arr] for arr in matrix]