From 75b875dfb0545df674d95ffca89c6e579251a6bb Mon Sep 17 00:00:00 2001 From: LEENAERTS Denis Date: Tue, 24 Mar 2026 20:35:47 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20la=20fonction=20plusgrand=20afin?= =?UTF-8?q?=20de=20r=C3=A9parer=20l'ancien=20moyen=20de=20trouver=20le=20p?= =?UTF-8?q?lus=20grand=20nombre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Miniprojet.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Miniprojet.py b/Miniprojet.py index 86badd1..a9cccc3 100644 --- a/Miniprojet.py +++ b/Miniprojet.py @@ -1,10 +1,17 @@ # https://82.96.134.49/[...] import tkinter as tk -def validerNombres(): +def plusGrand(lst): + maxint = int(lst[0]) + for i in range(1,len(lst)): + if maxint",validerNombres) +fenetre.bind("",validerNombres) + fenetre.mainloop() \ No newline at end of file