Skip to content
Extraits de code Groupes Projets
Valider ff057c28 rédigé par Loris TICHADOU's avatar Loris TICHADOU
Parcourir les fichiers

Update manger.py

parent 17c06d99
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -4,7 +4,7 @@ def is_l_heure_de_manger() : ...@@ -4,7 +4,7 @@ def is_l_heure_de_manger() :
date = datetime.now().time() date = datetime.now().time()
hour = date.hour hour = date.hour
minutes = date.minute minutes = date.minute
return hour > 11 and minute > 30 or hour > 12 return hour >= 11 and minute >= 30 or hour >= 12
mots = ["manger", "faim", "nourriture", "miam", "bouffe", "mange"] mots = ["manger", "faim", "nourriture", "miam", "bouffe", "mange"]
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter