Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions