Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a python program that does the following: - Asks the user for their name - Introduces the Hangman Game - List of a minimum
Write a python program that does the following: - Asks the user for their name - Introduces the Hangman Game - List of a minimum of 30 words. They are either 1 st generation Pokemon or Fruit - Each word must be 5 to 10 characters in length - List of guessed letters - List of the incorrect guesses - Users are allowed to guess wrong 5 times on the 6th time they loose and you tell them the word. - Verify that what they guessed is a letter in the alphabet Base program for creating the hangman graphic: hangman.py Submit your code to complete the assignment: either py or .txt file. def displayeoard (nisaedletters, cornectletters, secnetwond): phine(HANGMANAPICS[Lenfmzssegletters)?) printe) for levter in miszedleztera: printiletter, end= = prin=ix blanus=ten(seoretiord)foriinrange(len(secretiord)):=Replaceblankewhthcorreczlyquessedletzene.Ifseonetviond[1]incorrectletters:blanks=blanks[:1]-secretword[1:-olanke[1+1:]forletterinblanks:=Showthesecretwordwithsoacesinbetiveeneachletter.print(letter,encl=
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started