First commit

This commit is contained in:
gauvainboiche
2024-12-05 16:04:24 +01:00
commit 5d62489b37
1336 changed files with 225822 additions and 0 deletions

14
game.py Normal file
View File

@@ -0,0 +1,14 @@
from random import randint
def game():
print "Jouons."
reponse = raw_input("Droite ou gauche ?").lower()
if reponse == "droite" or reponse == "d":
print "Perdu, c'etait gauche."
elif reponse == "gauche" or reponse == "g":
print "Bravo."
else:
print "Decide-toi."
game()
game()