Question: Python code 1. Specification Write a program that allows two players to play hangman: First allow player 1 to type a 7 letter word The

Python code  Python code 1. Specification Write a program that allows two players

1. Specification Write a program that allows two players to play hangman: First allow player 1 to type a 7 letter word The program must ensure that each letter is a character The string entered must also be exactly 7 letters. - Keep asking until the first user has met those requirements Print a bunch of empty lines to hide the first user's word . Display the Gallows (see picture below) for the number of guesses they got wrong. . Also display the letters they got correct and blanks for spaces they haven't gotten yet. Keep asking the sccond user for a letter to guess: - The user must type a single alphabetica-z letter, keep asking they do, do NOT deduct a life for mis-typing. Continue to repeat until either they have guess all letters (no blanks) or they have used all 7 incorrect guesses

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 Databases Questions!