mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-27 17:06:44 +00:00
Fix line break after binary operator (#2119)
* Fix line break after binary operator * fixup! Format Python code with psf/black push Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
parent
23dae9ceab
commit
0b028aa32a
@ -97,10 +97,12 @@ def run_maze(maze, i, j, solutions):
|
|||||||
solutions[i][j] = 1
|
solutions[i][j] = 1
|
||||||
|
|
||||||
# check for directions
|
# check for directions
|
||||||
if (run_maze(maze, i + 1, j, solutions) or
|
if (
|
||||||
run_maze(maze, i, j + 1, solutions) or
|
run_maze(maze, i + 1, j, solutions)
|
||||||
run_maze(maze, i - 1, j, solutions) or
|
or run_maze(maze, i, j + 1, solutions)
|
||||||
run_maze(maze, i, j - 1, solutions)):
|
or run_maze(maze, i - 1, j, solutions)
|
||||||
|
or run_maze(maze, i, j - 1, solutions)
|
||||||
|
):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
solutions[i][j] = 0
|
solutions[i][j] = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user