mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08: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
|
||||
|
||||
# check for directions
|
||||
if (run_maze(maze, i + 1, j, solutions) or
|
||||
run_maze(maze, i, j + 1, solutions) or
|
||||
run_maze(maze, i - 1, j, solutions) or
|
||||
run_maze(maze, i, j - 1, solutions)):
|
||||
if (
|
||||
run_maze(maze, i + 1, j, solutions)
|
||||
or 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
|
||||
|
||||
solutions[i][j] = 0
|
||||
|
Loading…
Reference in New Issue
Block a user