terminer=False while terminer==False: a=terminer coup=input("A vous de jouer, où voulez-vous placer votre coup ('a' pour abandonner) ? : ") y=int(coup[0]) x=int(coup[1]) if coup=='a': terminer=True print("Vous avez quitté la partie en cours.") if plateau[y][x]!=VIDE: print("La case a déjà été jouée ! Retentez votre coup. ") elif y<0 and x<0 and y>=T_PLATEAU and x>=T_PLATEAU: print("Coordonées non valide.")