Skip to content

Instantly share code, notes, and snippets.

@chriszf
Created April 9, 2012 08:21
Show Gist options
  • Select an option

  • Save chriszf/2342280 to your computer and use it in GitHub Desktop.

Select an option

Save chriszf/2342280 to your computer and use it in GitHub Desktop.
A simple conditional
# 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