Advertisement
hagenpastebin

Untitled

Dec 8th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. phrase = input("Talk to me > ")
  2. if phrase == "hi":
  3. print("hello")
  4. elif phrase == "whats your name":
  5. print("Marvin")
  6. else:
  7. print("sorry I don't understand this")
  8. answer = input("What are you? ")
  9. if answer == "human":
  10. print ("you are amazing")
  11. else:
  12. print ("I can't help you")
  13.  
  14. print("bye")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement