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 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
Get step-by-step solutions from verified subject matter experts
