Created
April 9, 2012 08:21
-
-
Save chriszf/2342280 to your computer and use it in GitHub Desktop.
A simple conditional
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
| # Hypothetical win condition for a hangman game called 'words with fiends' | |
| if guess == answer: | |
| print("You guessed the right answer! May all your children be blessed from here until eternity.") | |
| else: | |
| print("Words fail me, as they have clearly failed you. Begone from my sight.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment