Skip to content

Commit c5196de

Browse files
authored
Fix multilines
1 parent ac08965 commit c5196de

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

graphs/a_star.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
from __future__ import annotations
22

3-
DIRECTIONS = [[-1, 0], [0, -1], [1, 0], [0, 1]] # left # down # right # up
4-
3+
DIRECTIONS = [
4+
[-1, 0], # left
5+
[0, -1], # down
6+
[1, 0], # right
7+
[0, 1], # up
8+
]
59

610
# function to search the path
711
def search(

0 commit comments

Comments
 (0)