Différences entre les versions de « Alice Saunier »
Ligne 29 : | Ligne 29 : | ||
else : | else : | ||
print("aaah bon apetit") | print("aaah bon apetit") | ||
+ | |||
+ | |||
+ | ===s'enerver contre la machine=== | ||
+ | <source lang="python2.7"> | ||
+ | import time | ||
+ | |||
+ | Intro = raw_input() | ||
+ | |||
+ | time.sleep(1) | ||
+ | |||
+ | print(Intro) | ||
+ | |||
+ | Intro = raw_input() | ||
+ | |||
+ | time.sleep(1) | ||
+ | |||
+ | print(Intro) | ||
+ | |||
+ | Intro = raw_input() | ||
+ | |||
+ | time.sleep(1) | ||
+ | |||
+ | print(Intro) | ||
+ | |||
+ | Intro = raw_input() | ||
+ | |||
+ | time.sleep(1) | ||
+ | |||
+ | print(Intro) | ||
+ | |||
+ | Intro = raw_input() | ||
+ | |||
+ | Intro = "Arrete de repeter ce que je dis" | ||
+ | data = Intro.split() | ||
+ | for temp in data: | ||
+ | time.sleep(1) | ||
+ | print temp | ||
+ | |||
+ | Intro = raw_input() | ||
+ | |||
+ | Intro = "Raaaa tu m'enerve" | ||
+ | data = Intro.split() | ||
+ | for temp in data: | ||
+ | time.sleep(1) | ||
+ | print temp | ||
+ | |||
+ | <source> |
Version du 19 octobre 2020 à 09:55
El Code
10000111100001110110011010011110011111001111001010100000110110111011111101001010000011011001100001 10000111101000110100111001011101110010000011001001100101010000011011001100001010000011000111100001111001111100111100101
#tu veux des pates ? combien
print("Tu veux des pates")
nbPates = raw_input() nbPates = int(nbPates)
if nbPates == 10 :
for compteur in range(1, nbPates): print(str(compteur)+ "pates ?") print("C'est pas beacoup")
elif nbPates <20 :
for compteur in range(1, nbPates): print(str(compteur)+"pates!") print("oui c'est bien")
elif nbPates <60:
for compteur in range(1, nbPates): print(str(compteur)+"pates") print("c'est beaucoup de pates")
else :
print("aaah bon apetit")
s'enerver contre la machine
<source lang="python2.7"> import time
Intro = raw_input()
time.sleep(1)
print(Intro)
Intro = raw_input()
time.sleep(1)
print(Intro)
Intro = raw_input()
time.sleep(1)
print(Intro)
Intro = raw_input()
time.sleep(1)
print(Intro)
Intro = raw_input()
Intro = "Arrete de repeter ce que je dis" data = Intro.split() for temp in data:
time.sleep(1) print temp
Intro = raw_input()
Intro = "Raaaa tu m'enerve" data = Intro.split() for temp in data:
time.sleep(1) print temp
<source>