Question: In Python 3.6. Write a program that implements the word guessing game we wrote an algorithm for. 1. Define secret word. 2. Create a revealed

In Python 3.6.

Write a program that implements the word guessing game we wrote an algorithm for.

1. Define secret word.

2. Create a revealed letter list that starts empty.

2. Set wrong guess count to 0.

3. Ask the user for a letter.

4. Is the letter in the secret word?

5. If So: Add it to the revealed letters list, create a blank string, for each letter in the secret word, if the letter is in revealed letter list, add that letter to string, otherwise add an underscore to string.

6. If letter not in secret word, add one to wrong guess.

7. Repeat from step 3.

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!