From 08033c9b3585bfcc823b6f2fd0cb18c108bc94b3 Mon Sep 17 00:00:00 2001 From: thomas neveu Date: Tue, 26 May 2026 11:53:25 +0200 Subject: [PATCH] =?UTF-8?q?on=20a=20essayer=20mais=20=C3=A7a=20ne=20marche?= =?UTF-8?q?=20p=C3=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- projet_conso.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projet_conso.py b/projet_conso.py index 6a717da..1a1b9b8 100644 --- a/projet_conso.py +++ b/projet_conso.py @@ -99,12 +99,12 @@ def kPlusProches(point, tableau): liste_distances.append((d, i)) liste_distances.sort() return liste_distances -""" + def puissancemoyenne (liste_distances, tableau) : calcule et renvoie la puissance éléctrique moyenne des voisins moy = (liste_distances + tableau) / 2 return moy - """ + def lancerTest () : @@ -112,7 +112,7 @@ def lancerTest () : de conso """ entree1.get = kPlusProches entree2.get = numerojour - = lecture + entree3.get = temperaturemoy entree4.get = temperatureref