Skip to content

Commit

Permalink
Update 5.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismudith committed Jul 17, 2022
1 parent 7a4ccf5 commit 2bbe485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2020/5.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def day5(part=1):
try:
row, col = i[0], i[1]
except TypeError:
pass
continue
row_and_column[row_and_column.index(i)] = row*8 + col + 1
row_and_column.append(row*8 + col - 1)
return max(row_and_column)
Expand Down

0 comments on commit 2bbe485

Please sign in to comment.