summaryrefslogtreecommitdiff
path: root/nbmystere.py
diff options
context:
space:
mode:
Diffstat (limited to 'nbmystere.py')
-rwxr-xr-xnbmystere.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/nbmystere.py b/nbmystere.py
index 156ce3f..eb215f2 100755
--- a/nbmystere.py
+++ b/nbmystere.py
@@ -2,6 +2,7 @@
"""module du jeu du nombre mystère"""
import sys
import random
+import cowsay
def jouer(limite=100):
@@ -23,7 +24,8 @@ def jouer(limite=100):
elif nb < secret:
print("Trop petit")
- print(f"Gagné en {cpteur} tentatives")
+ #print(f"Gagné en {cpteur} tentatives")
+ cowsay.cow(f"Gagné en {cpteur} tentatives")
if __name__ == "__main__":