bobhig

knockknock.py

May 7th, 2021
647
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. answer1 = ""
  2. answer2 = ""
  3.  
  4. while answer1 != "Who's there?":
  5.   answer1 = input("Knock, knock ")
  6.  
  7. while answer2 != "Mikey who?":
  8.   answer2 = input("Mikey ")
  9.  
  10. print ("Mikey doesn't work, let me in?")
RAW Paste Data