Advertisement
timber101

Untitled

Apr 30th, 2019
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. phrase = input("talk to me>")
  2. if phrase == "hi":
  3.     print("howdy")
  4. elif phrase == "whats your name":
  5.     print ("Yankydoodle dandy")
  6. else:
  7.     print("Sorry, you entered >- '" + phrase + "', Which I dont understand")
  8.     #print (phrase)
  9. print ("cheerybye")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement