From 0e9d92bb8bfe2bfebd5a93d81cc144dd661131f1 Mon Sep 17 00:00:00 2001 From: ROBINET Julien Date: Fri, 27 Mar 2026 14:26:10 +0100 Subject: [PATCH] correctif d'une petite erreur --- projet_tkinter_sujet5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projet_tkinter_sujet5.py b/projet_tkinter_sujet5.py index 45d5a0e..017c178 100644 --- a/projet_tkinter_sujet5.py +++ b/projet_tkinter_sujet5.py @@ -9,7 +9,7 @@ def spawn_rectangle() : position_x = randint(0, 400) position_y = randint(0, 300) while position_x+taille > 400 or position_y+taille > 300: - taille = randint(10, 31) + taille = randint(10, 30) position_x = randint(0, 400) position_y = randint(0, 300) rectangle = canva.create_rectangle(position_x, position_y, position_x+taille,