Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- phrase = input("Talk to me> ")
- if phrase == "hi" or phrase == "G'day Sport":
- print("hello")
- elif phrase == "whats your name" or phrase == "what's your name":
- print("Dr Nookey")
- else:
- print("sorry i dont understand this '" + phrase + "'")
- print("Tattybye")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement