File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3131# ```
3232#
3333# Store this an an array of lines; each lines contains these characters.
34- # Therefore, `line[y][x]` gives the cell at the coordinate $(𝑥,𝑦)$ (note the
34+ # Therefore, `line[y][x]` gives the cell at the coordinate $(𝑥,𝑦)$ (note the
3535# reversed order).
3636line = []
3737for y in range (height ):
6666#
6767# * Loop through each cell. If it's occupied (a node):
6868#
69- # * Look for a node to its right; if not found, return coorindates of
70- # $(-1,- 1)$.
71- # * Look for a node to the bottom; if not found, return coorindates
72- # of $(−1,−1)$.
69+ # * Look for a node to its right; if not found, return coordinates of
70+ # $(−1,− 1)$.
71+ # * Look for a node to the bottom; if not found, return coordinates of
72+ # $(−1,−1)$.
7373for x1 in range (width ):
7474 for y1 in range (height ):
7575 if line [y1 ][x1 ] == "0" :
You can’t perform that action at this time.
0 commit comments