Advertisement
Pedroleon

Untitled

Jan 11th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. phrase = input("Greet me or ask my name>")
  2. if phrase == "hi":
  3. print("Hello, thanks for your greeting !!")
  4. elif phrase == "What's your name":
  5. print("Marvin, your bot")
  6. else:
  7. print("Sorry I don't understand this")
  8. print("Bye, Hasta luego")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement