Advertisement
Guest User

Untitled

a guest
Dec 7th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. phrase = input("Hello! > ")
  2.  
  3. if phrase == "Hi":
  4. print("Hello there")
  5.  
  6. else:
  7. print("Sorry, buddy. I'm afraid I don't understand you.")
  8.  
  9. print("Bye, bye")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement