Skip to content
Snippets Groups Projects
Commit 0f434a50 authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

81: Removed useless width/height check.

parent dbe98c28
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,6 @@ m = array([l.split(',') for l in open('matrix.txt', 'r').readlines()],
def add(x, y):
global m
h, w = m.shape
if x == w or y == h: return
p = []
if x: p.append(m[y, x - 1])
if y: p.append(m[y - 1, x])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment