Advertisement
lubattillah

or

May 11th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. phrase=input("Talk to me > ")
  2. if phrase=="hi" or phrase=="hellow":
  3. print("hello")
  4. elif phrase=="Whats your name? " or "What's your name? ":
  5. print("Lubattillah")
  6. elif phrase=="Where are you from?":
  7. print("Africa")
  8. else:
  9. print("Sorry I don't understand the phrase:"+" "+"'"+phrase+"'")
  10. print("bye")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement