Example 4.2. Adding the word to Hangman
print '''--- Welcome to the Hangman Game ---'''
word = 'snake'
$ python hangman2.py
--- Welcome to the Hangman Game ---
We are now assigning a string to the name
word
in our program. This will be the
word that the player of the game has to
guess.