(Game: hangman) Write a hangman game that randomly generates a word and prompts the user to guess one letter at a time, as shown in the sample run. Each letter in the word is displayed as an asterisk. When the user makes a correct guess, the actual letter is then displayed. When the user finishes a word, display the number of misses and ask the user whether to continue playing. Create a list to store the words, as follows:
# Use any words you wish words $=[" \text { write" }, \text { "that", "program", } \dots]$
(Guess) Enter a Tetter in word $* * * * * *>p$
(Guess) Enter a Tetter in word pre*rrow $>p$ $p$ is already in the word (Guess) Enter a letter in word pre*rrin $>0$
(Guess) Enter a letter in word pro*r** > g (Guess) Enter a letter in word progr** > n $\mathrm{n}$ is not in the word
(Guess) Enter a letter in word progr** > $\mathrm{m}$
(Guess) Enter a letter in word progr*m $>a$
The word is program. You missed 1 time
Do you want to guess another word? Enter y or $n>$