From 3f39b34f6631c3a95714f9e08b18243431e563ae Mon Sep 17 00:00:00 2001 From: "michelat.c" <> Date: Wed, 4 Mar 2026 19:11:46 +0100 Subject: [PATCH] j'essaie encore --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 4e7a708..944ac86 100644 --- a/main.py +++ b/main.py @@ -38,7 +38,7 @@ def totalPoints(joueur): with open('stats.txt','r') as fichier_stat: for ligne in fichier_stat: ligne_separe = ligne.split(" ") - if ligne_separe[0]==joueur: + if ligne_separe[0]==joueur and ligne_separe[1]== 'tir-reussi': ligne_separe[2]= x ligne_separe[3]= y totpoints=totpoints+points(x,y)