Advertisement
los1234

Untitled

Mar 4th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. def tf_quiz():
  2. while True:
  3. t = "T"
  4. response = input("(T/F) Should save your notebook after edit?: ")
  5. if response == t or response == "t":
  6. print("Correct")
  7. break
  8. elif response == "F" or response == "f":
  9. print("Correct")
  10. else:
  11. print("Incorrect")
  12.  
  13.  
  14.  
  15. tf_quiz()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement