Advertisement
Juan101

Untitled

Nov 26th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. frase = input("hablame >")
  2. if frase == "hola" or frase == "hi":
  3.     print("hola")
  4. elif frase == "como te llamas" or frase == "cual es tu nombre":
  5.     print("mi nombre es Marvin")
  6. else:
  7.     print("lo siento no entiendo esto, " + " ¿quien eres?")
  8. print("adios")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement