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 :