###############################
# PROLOG SECTION
# hangman.py
# Program to play the traditional game of hangman.
# The computer picks a word and the player
# has to guess it before he has made 7 wrong
# guesses of letters in the word.
# Each time the user makes an incorrect guess
# of a letter, one more body part gets added
# to the text graphic.
# Uses multiple defined functions.
# Uses branching and looping.
# (today's date goes here)
# (programmer names go here)
# (tester names go here)
# Possible future enhancements:
# Unresolved bugs:
############################### This section contains important information about the program.
The comments give an overview of how the hangman game will be played.
FUNCTION DEFINITION SECTION
# Definitions: print_game_rules(),
# display_figure(), prompt_for_letter()
In this program you’ll define three functions: print_game_rules(), which prints the game rules for the user; display_figure(), which displays the appropriate version of the guillotine and “hanging” stick figure; and prompt_for_letter(), which prompts the user for the next letter guess.
These functions are all called from the main processing section of the program