From 4ab590a6b478ceb96640c77462e75ad33f6bd63e Mon Sep 17 00:00:00 2001 From: "mansat.t" <> Date: Sun, 16 Mar 2025 21:40:55 +0100 Subject: [PATCH] correction bug --- fonction_totalPoints.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fonction_totalPoints.py b/fonction_totalPoints.py index 9bd8c58..b25ba22 100644 --- a/fonction_totalPoints.py +++ b/fonction_totalPoints.py @@ -1,5 +1,8 @@ from fonction_points import points def totalPoints (joueur): + """fonction totalPoints qui prend en paramètre une chaîne de caractère joueur(le nom du joueur) +et qui renvoie le nombre total de points marqués par ce joueur""" + total_pts = 0 with open("stats.txt") as stats: for ligne in stats :