Question: * * PYTHON * * Write a program which recreates the classic game of Hangman. Part I - Word Picker Select a random word from

**PYTHON**
Write a program which recreates the classic game of Hangman.
Part I - Word Picker
Select a random word from a list of words (SOWPODS.txt). Each line in the file contains a single word.
Hint: Use the Python random library for picking a random word.
Part II - Guess a Letter
In the game of Hangman, a clue word is given by the program that the player has to guess, letter by letter. The player guesses one letter at a time until the
entire word has been guessed.
Create a program that asks the player to guess a letter and displays the letters in the clue word that were guessed correctly.
Keep track of the letters the player guessed and display a different message if the player tries to guess that letter again.
Remember to stop the game when all the letters have been guessed correctly.
Part III - Hangman
Only allow the user to guess 6 times, and tell the user how many guesses they have left.
When the player wins or loses, give them the option to start a new game.
Sample Output:
Guess a letter: e
Correct guess!
You have 6 guesses left.
_-- E
Guess a letter: s
Incorrect...
You have 5 guesses left.
E
Guess a letter:
* * PYTHON * * Write a program which recreates

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!