Utilisateur:Mathus
Révision datée du 25 octobre 2021 à 07:36 par Mathus (discussion | contributions)
<syntaxhighlight lang = python >
pates = ["Spaghetti ", "Penne", "tortellini", "Farfalle", "Fusilli", "Ravioles"]
print("Aime tu les pates ?")
reponse = input()
i =0
if reponse == "non":
print("Dans ce cas on à rien a se dire")
elif reponse == "oui":
print("très bien mais il y a beaucoup de pates differentes")
print("quels sont tes pates préféres ?")
reponse2 = input(pates)
if reponse2 == pates[1]:
print("tu me degoutte")
elif reponse2 != pates[1]:
print("bien")
reponse3 = input()
i+1
while i > 5 :
print("bien")
reponse3 = input()
i+1
</syntaxhighlight lang = python >