Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- phrase=input("Talk to me. >")
- if phrase=="hi" or phrase=="hey":
- print("hello")
- elif phrase=="what's your name?" or phrase=="whats your name":
- print("marvin")
- elif phrase=="what are you?":
- print("Sorry, I don't understand " + " 'what are you'")
- print("bye")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement