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

Update manger.py

parent 711243fc
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -12,7 +12,7 @@ mots = ["manger", "faim", "nourriture", "miam", "bouffe", "mange"] ...@@ -12,7 +12,7 @@ mots = ["manger", "faim", "nourriture", "miam", "bouffe", "mange"]
def should_ban(message) : def should_ban(message) :
global mots global mots
msg = message.split(" ") msg = message.split(" ")
for f in message : for f in msg :
print f print f
if f in mots : if f in mots :
return True return True
......
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