From f403c1d50d837073ea4cb77e912b8bb8a66ad788 Mon Sep 17 00:00:00 2001 From: BOLLET Corentin Date: Mon, 30 Jan 2023 11:49:39 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'basket.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- basket.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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