Skip to content

Commit b9332ca

Browse files
committed
doesn't need semicolon
1 parent 432f9da commit b9332ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/number-of-distinct-islands.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def dfs(i, j, grid, island):
1717
return False
1818
grid[i][j] *= -1
1919
for k, v in directions.iteritems():
20-
island.append(k);
20+
island.append(k)
2121
dfs(i+v[0], j+v[1], grid, island)
2222
return True
2323

0 commit comments

Comments
 (0)