diff --git a/PJ/bloc.py b/PJ/bloc.py
index d7f432050401076eadab6a1ad406a75bbbe831fa..fccd4bf1fa15f25b4f8c9f050656d6e3a12ef9a5 100644
--- a/PJ/bloc.py
+++ b/PJ/bloc.py
@@ -1,6 +1,6 @@
 #Belkacemi Melissa
-#27/03/2024
-from couleur import couleur_moyenne
+#31/03/2024
+from couleur import *
 
 class Bloc:
     """ une classe représentant des blocs
@@ -34,10 +34,10 @@ class Bloc:
             self.couleur=couleur_moyenne(couleurs)
                 
         
-        def sont_proches(c1:tuple[int,int,int],c2:tuple[int,int,int],c3:tuple[int,int,int],c4:tuple[int,int,int]) ->bool:
-            """Renvoie True si les 4 couleurs sont proches
+    def sont_proches(c1:tuple[int,int,int],c2:tuple[int,int,int],c3:tuple[int,int,int],c4:tuple[int,int,int]) ->bool:
+        """Renvoie True si les 4 couleurs sont proches
 
-            """
-            cm=couleur_moyenne([c1,c2,c3,c4])
-            return coul_sont_proches(c1,cm)and coul_sont_proches(c2,cm) and coul_sont_proches(c3,cm) and coul_sont_proches(c4,cm)
+        """
+        cm=couleur_moyenne([c1,c2,c3,c4])
+        return coul_sont_proches(c1,cm)and coul_sont_proches(c2,cm) and coul_sont_proches(c3,cm) and coul_sont_proches(c4,cm)