Advertisement
Emma-Zhou

Untitled

Oct 20th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. phrase = input("Talk to me > ")
  2. if phrase == "hi":
  3. print("hello")
  4. elif phrase == "whats your name":
  5. print("Kitty")
  6. else:
  7. print("sorry I don't understand this")
  8. print("sorry I don't understand this "+"why not")
  9. print("bye")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement