diff --git a/src/devine_ordi_1.py b/src/devine_ordi_1.py index d5a765b..fcf8f4d 100644 --- a/src/devine_ordi_1.py +++ b/src/devine_ordi_1.py @@ -9,6 +9,8 @@ # Fonctions # ############# +import random + def try_to_guess(nb_min,nb_max): """Choisi un nombre compris entre un min et un max et le renvoie.""" @@ -59,8 +61,6 @@ def reply( answer, guess, min, max ): # Code # ######## -import random - min = 0 max = 10 print("Pense à un nombre entre",min,"et",max)