diff --git a/KNN_Mark1.py b/KNN_Mark1.py index 4215af4..a50aa4b 100644 --- a/KNN_Mark1.py +++ b/KNN_Mark1.py @@ -139,12 +139,12 @@ def recup2(): def recup3(): temp_moy = value3.get() - label6.configure(text=temp_moy) + label7.configure(text=temp_moy) return temp_moy def recup4(): temp_ref = value4.get() - label6.configure(text=temp_ref) + label8.configure(text=temp_ref) return temp_ref #def calc_conso(): @@ -183,12 +183,12 @@ entree3.grid() label4.grid(pady=10) entree4.grid() -label8 = Label(fenetre, text="Conso", bg="yellow") +label9= Label(fenetre, text="Conso", bg="yellow") bouton1 = Button(canvas1, text="Tester", command=lancer(value2.get, value3.get, value4.get), width=15, height=2, bg="cyan").grid(pady=10) canvas1.grid() -label8.grid(pady=10) +label9.grid(pady=10) fenetre.title("IHM KNN") fenetre.iconbitmap('icon.ico')