Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- phrase=input("Talk to me > ")
- if phrase=="hi" or phrase=="hellow":
- print("hello")
- elif phrase=="Whats your name? " or "What's your name? ":
- print("Lubattillah")
- elif phrase=="Where are you from?":
- print("Africa")
- else:
- print("Sorry I don't understand the phrase:"+" "+"'"+phrase+"'")
- print("bye")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement