Browse Source

retour note -> Entry

master
BIZET Xuan 4 weeks ago
parent
commit
712d9ac0ba
  1. 5
      projet tkinter.py

5
projet tkinter.py

@ -9,12 +9,15 @@ def Recup():
def Moyenne():
moy = sum(note)/len(note)
value.set("La Moyenne des notes est : " + str(moy))
print(moy)
def Mnote():
value.set("La Meilleur note est : " + str(max(note)))
print(max(note))
def Pnote():
value.set("La pire note est : " + str(min(note)))
print(min(note))
@ -24,7 +27,7 @@ fenetre.title("Calcul De Note")
# entrée
value = tk.StringVar()
value.set("Entre ta Note !!")
value.set("Entre tes Notes !!")
entree = tk.Entry(fenetre, textvariable=value, width=30)
entree.grid(column=0, row=1)

Loading…
Cancel
Save