Last active
December 10, 2015 02:28
-
-
Save harushimo/4367547 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This is using a regular expression to for small letter | |
while playAgain == '[Yy]es' or playAgain == '[Yy]' | |
displayIntro() | |
caveNumber = chooseCave() | |
checkCave(caveNumber) | |
print('Do you want to play again? (yes or no)') | |
playAgain = input() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment