diff --git a/basket.py b/basket.py index 9baf5e1..ffe2762 100644 --- a/basket.py +++ b/basket.py @@ -1,3 +1,4 @@ def reussite(joueur, action): #recuperer toutes les lignes débutant par joueur ET action (join et search?) - #... \ No newline at end of file + with open('stats.txt', 'r') as stats: + stats = stats.read().strip() \ No newline at end of file