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