Question: Functional Requirements The solution to the puzzle will be on a text file. The user guesses a letter and enters it on the command line.

 Functional Requirements The solution to the puzzle will be on a

Functional Requirements The solution to the puzzle will be on a text file. The user guesses a letter and enters it on the command line. The program tells the user how many times that letter appears in the solution. The program also outputs the partial solution after each guess, showing blank spaces or placeholder characters for letters that have not been correctly guessed yet and showing correctly guessed letters in their accurate places in the solution message. Deliverable: Turn in your working code on a py file. I will test it. If it meets the functional requirements you get credit. Code Sample: The approach below borrows a couple things from Week 7 - Collections There are of course other ways to do this! guess = [] guess.append("s") guess.append("c") for letter in "succotash": if letter in guess: print(letter) else: print("")

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!