Différences entre les versions de « Julien Playout »
(Page créée avec « ===Le code=== 100110011001010100000100101001000001100011010011111001011110011111010001000001101100110010101000001110011 1001100010011111000011101100110001111011111101111... ») |
|||
Ligne 4 : | Ligne 4 : | ||
10011000100111110000111011001100011110111111011111101100010000111001011110011111010001000011101101110111111100101110100 | 10011000100111110000111011001100011110111111011111101100010000111001011110011111010001000011101101110111111100101110100 | ||
+ | |||
+ | ===Tavernier=== | ||
+ | <source> | ||
+ | import time | ||
+ | |||
+ | print("Tavernier :") | ||
+ | time.sleep (1) | ||
+ | print("Bonjour, combien de bieres ce soir?") | ||
+ | time.sleep(1) | ||
+ | print("Moi:") | ||
+ | Nbr_bieres = input() | ||
+ | Nbr_bieres = int(Nbr_bieres) | ||
+ | |||
+ | time.sleep(1) | ||
+ | |||
+ | if Nbr_bieres < 6: | ||
+ | print("Conscience :") | ||
+ | time.sleep (1) | ||
+ | print("que " + str(Nbr_bieres) + "? partons plutot sur " + str(Nbr_bieres*2)) | ||
+ | time.sleep (1) | ||
+ | print("Moi :") | ||
+ | time.sleep (1) | ||
+ | print(str(Nbr_bieres*2) + ("...")) | ||
+ | Nbr_bieres = int(Nbr_bieres*2) | ||
+ | |||
+ | else: | ||
+ | print("...") | ||
+ | time.sleep(1) | ||
+ | print("Conscience :") | ||
+ | time.sleep (1) | ||
+ | print("C'est bien") | ||
+ | |||
+ | time.sleep (1) | ||
+ | |||
+ | print ("Tavernier :") | ||
+ | time.sleep (1) | ||
+ | print (str(Nbr_bieres) + " ? C'est parti!") | ||
+ | |||
+ | time.sleep (2) | ||
+ | |||
+ | print ("Tavernier :") | ||
+ | time.sleep (1) | ||
+ | print ("Eh voilà :") | ||
+ | |||
+ | for compteur in range (1, Nbr_bieres + 1): | ||
+ | print(str(compteur) + " bieres") | ||
+ | time.sleep(1) | ||
+ | print ("Moi :") | ||
+ | time.sleep (1) | ||
+ | print ("Merci...") | ||
+ | |||
+ | time.sleep(1) | ||
+ | print ("Conscience :") | ||
+ | time.sleep (1) | ||
+ | print("... beaucoup.") | ||
+ | |||
+ | time.sleep(1) | ||
+ | print ("Tavernier : ") | ||
+ | time.sleep(1) | ||
+ | print ("Dure journée?") | ||
+ | |||
+ | time.sleep(1) | ||
+ | print ("Moi :") | ||
+ | humeur = input() | ||
+ | |||
+ | if humeur == "Oui" or humeur == "plutôt": | ||
+ | print ("Tavernier :") | ||
+ | time.sleep(1) | ||
+ | print ("Tu m'en vois désolé") | ||
+ | time.sleep(1) | ||
+ | print ("Conscience :") | ||
+ | time.sleep(1) | ||
+ | print ("Ne lui disons pas tout") | ||
+ | else : | ||
+ | print ("Tavernier :") | ||
+ | time.sleep(1) | ||
+ | print ("Tant mieux alors!") | ||
+ | |||
+ | <\source> |
Version du 12 octobre 2020 à 09:38
Le code
100110011001010100000100101001000001100011010011111001011110011111010001000001101100110010101000001110011
10011000100111110000111011001100011110111111011111101100010000111001011110011111010001000011101101110111111100101110100
Tavernier
<source> import time
print("Tavernier :") time.sleep (1) print("Bonjour, combien de bieres ce soir?") time.sleep(1) print("Moi:") Nbr_bieres = input() Nbr_bieres = int(Nbr_bieres)
time.sleep(1)
if Nbr_bieres < 6:
print("Conscience :") time.sleep (1) print("que " + str(Nbr_bieres) + "? partons plutot sur " + str(Nbr_bieres*2)) time.sleep (1) print("Moi :") time.sleep (1) print(str(Nbr_bieres*2) + ("...")) Nbr_bieres = int(Nbr_bieres*2)
else:
print("...") time.sleep(1) print("Conscience :") time.sleep (1) print("C'est bien")
time.sleep (1)
print ("Tavernier :") time.sleep (1) print (str(Nbr_bieres) + " ? C'est parti!")
time.sleep (2)
print ("Tavernier :") time.sleep (1) print ("Eh voilà :")
for compteur in range (1, Nbr_bieres + 1):
print(str(compteur) + " bieres") time.sleep(1)
print ("Moi :") time.sleep (1) print ("Merci...")
time.sleep(1) print ("Conscience :") time.sleep (1) print("... beaucoup.")
time.sleep(1) print ("Tavernier : ") time.sleep(1) print ("Dure journée?")
time.sleep(1) print ("Moi :") humeur = input()
if humeur == "Oui" or humeur == "plutôt":
print ("Tavernier :") time.sleep(1) print ("Tu m'en vois désolé") time.sleep(1) print ("Conscience :") time.sleep(1) print ("Ne lui disons pas tout")
else :
print ("Tavernier :") time.sleep(1) print ("Tant mieux alors!")
<\source>