Skip to content

Instantly share code, notes, and snippets.

@samuelpath
Created March 17, 2023 19:05
Show Gist options
  • Save samuelpath/2a6fd8140217f45e8f0f27012dec00bf to your computer and use it in GitHub Desktop.
Save samuelpath/2a6fd8140217f45e8f0f27012dec00bf to your computer and use it in GitHub Desktop.
aimes_tu_les_robots.py
réponse_utilisateur = input("Aime-tu les robots ? (Tape oui ou non) ")
if réponse_utilisateur == "oui":
print("Bip bip !")
elif réponse_utilisateur == "peut-être":
print("Décide toi humain !")
elif réponse_utilisateur == "Ceux aux yeux laser":
print("Zzzzzzap !")
elif réponse_utilisateur == "non":
print("Les robotsn ne t'aiment pas non plus.")
else:
print("Ton absurité humaine nous offense.")
@JoeChip-dev
Copy link

Bravo ! :)

@tlagoda
Copy link

tlagoda commented Mar 22, 2023

Beau programme!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment