If a guess is right, we'll replace the underscore with the letter. To do this, we need its position in the word, its so-called index.

Create an index variable and use the list's index() function to get the index of the guessed letter in word.