Advertisement
timber101

Untitled

Apr 30th, 2019
190
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None
  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
RAW Paste Data Copied
Advertisement