I have been trying to make a hangman game, Everything works fine except that it does not give the previous guessed letters in the correct places like the suppose the answer was "spoon" & you guessed the s first time you do it it will print in the proper place then you guess p the next one will look like
Hangman (not printing guessed letters)-python
I have been trying to make a hangman game, Everything works fine except that it does not give the previous guessed letters in the correct places like the suppose the answer was "spoon" & you guessed the s first time you do it it will print in the proper place then you guess p the next one will look like
![image]

how do I bring it from that to:
Instead of this:
You could use this:
The output would be
And if a letter would be guessed, simply redefine the letter.
Output would now be
This is just a rough mock-up, so you'll have to change it a bit to fit it into your program. I can help you with it if you'd like.