Skip to content

Commit 1333667

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a472dad commit 1333667

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

A_star_searching_algorithm/A_star_search.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ def main() -> None:
209209
Examples:
210210
>>> main()
211211
The destination cell is found
212-
The Path is
213-
-> (8, 0) -> (7, 1) -> (6, 0) -> (5, 1) -> (4, 0) -> (3, 1) -> (2, 0) -> (1, 1) -> (0, 0)
212+
The Path is
213+
-> (8, 0) -> (7, 1) -> (6, 0) -> (5, 1) -> (4, 0) -> (3, 1) -> (2, 0) -> (1, 1) -> (0, 0)
214214
"""
215215
# Define the grid (1 for unblocked, 0 for blocked)
216216
grid = [
@@ -234,4 +234,3 @@ def main() -> None:
234234

235235
if __name__ == "__main__":
236236
main()
237-

0 commit comments

Comments
 (0)