Advertisement
Guest User

Untitled

a guest
Mar 29th, 2020
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. phrase = input("Talk to mr >")
  2. if phrase == "hi":
  3. print("hello")
  4. elif phrase == "what is your name":
  5. print("Nuras")
  6. elif phrase == "where are you from":
  7. print("Nepal")
  8. elif phrase == "what do you do":
  9. print("I am a computer learner")
  10. else:
  11. print("Sorry i dont understand")
  12. print("Bye")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement