diff --git a/__pycache__/res_lab.cpython-310.pyc b/__pycache__/res_lab.cpython-310.pyc index e86912e..5833865 100644 Binary files a/__pycache__/res_lab.cpython-310.pyc and b/__pycache__/res_lab.cpython-310.pyc differ diff --git a/res_lab.py b/res_lab.py index 17f3266..19a9741 100644 --- a/res_lab.py +++ b/res_lab.py @@ -30,8 +30,6 @@ def res_lab(lab, dim): posx = dim - 2 posy = dim - 2 if reslab[posx][posy]==3 or reslab[posx][posy]==5: #erreur dans la création du labyrinthe - #ou dans la création de la longueur des pts - return reslab while not (posx == 1 and posy == 1): if reslab[posx-1][posy] == reslab[posx][posy] - 1: