Advertisement
Txemin

Untitled

Apr 24th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 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("Marvin")
  6. else:
  7. print("Sorry, I don't understand " + "'" + phrase +"'")
  8. print("Bye")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement