Browse Source

correction bug

master
mansat.t 4 weeks ago
parent
commit
4ab590a6b4
  1. 3
      fonction_totalPoints.py

3
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 :

Loading…
Cancel
Save