How would I find all occurances of the letter 'e' for example in a list of the split word elephant?
I've tried using letterlist.index('e') for example but index only returns the first occurance of e.
This is to be used in a hangman game, and the game needs to display all the characters that have been guessed amongst a list of "-" dashes
So how would I replace "-" with the correctly guessed letter.
Thanks!