Skip to content

Instantly share code, notes, and snippets.

@nelson6e65
Created April 9, 2015 03:25
Show Gist options
  • Save nelson6e65/86a6377edfbb80309d96 to your computer and use it in GitHub Desktop.
Save nelson6e65/86a6377edfbb80309d96 to your computer and use it in GitHub Desktop.
Love
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
def ask(question:str):
answer = "?"
while (answer != "s" and answer != "n"):
answer = str(input("\n{0} (s/n): ".format(question)))
return (answer == "s");
def myHeart():
le_gusto = me_extranya = me_ama = False
le_gusto = ask("¿Te gusto?")
if (le_gusto):
print(" Entonces dímelo.")
me_extranya = ask("¿Me extrañas?")
if (me_extranya):
print(" Entonces ven y abrázame.")
me_ama = ask("¿Me amas?")
if (me_ama):
print(" Entonces demuéstramelo.")
else:
print(" </3" \
"\n\n*In the Friend Zone*")
if (not le_gusto) & (not me_extranya) & (not me_ama):
print("\n¡Entonces vete! </3")
else:
if (not me_extranya):
print(" ¿No? Bueno... Al menos te gusto.")
if (__name__ == "__main__"):
try:
myHeart()
except KeyboardInterrupt:
print("\nSaliendo...")
finally:
print("\n..::FIN::..")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment