Skip to content

Commit 6082cb3

Browse files
committed
Day 10: Remove unused variables
1 parent d9852fb commit 6082cb3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

day10/day10.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ def is_connected(i1, j1, i2, j2, text_graph):
5252

5353

5454
def get_connected_neighbors(i, j, text_graph):
55-
r = len(text_graph)
56-
c =len(text_graph[0])
57-
5855
potential_neighbors = [(i, j-1), (i, j+1), (i-1, j), (i+1, j)]
5956
neighbors = list(filter(lambda n : is_connected(i, j, n[0], n[1], text_graph), potential_neighbors))
6057
return neighbors

0 commit comments

Comments
 (0)