Skip to content

Instantly share code, notes, and snippets.

@saracope
Created September 10, 2017 14:29
Show Gist options
  • Save saracope/e0a3e2ca6a0930e7a32ea3dc96101d0d to your computer and use it in GitHub Desktop.
Save saracope/e0a3e2ca6a0930e7a32ea3dc96101d0d to your computer and use it in GitHub Desktop.
Create a function that will ask user a yes or no question.
It will continue to ask until their input is "yes" or "y" or "no" or "n"
//answer
https://repl.it/KtiW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment