Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
Correction accents erreurs
Browse files Browse the repository at this point in the history
  • Loading branch information
belicfr committed Feb 6, 2024
1 parent ca8779d commit cba6ea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/engine/grille.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ def get_grille(self):

def get_colonne(self, colonne: int):
if not (0 <= colonne < 7):
raise IndexError("La colonne demandée n'éxiste pas")
raise IndexError("La colonne demandée n'existe pas")
return self.grille[colonne]

def get_ligne(self, ligne: int):
if not (0 <= ligne < 6):
raise IndexError("La ligne demandée n'éxiste pas")
raise IndexError("La ligne demandée n'existe pas")
ligne = [col[ligne] for col in self.grille]
return ligne

Expand Down

0 comments on commit cba6ea3

Please sign in to comment.