I want to replace multiple characters in a word that only contains dots. For example. I have 4 dots, I have 2 index numbers in a list and a letter.
word = '....'
list = [2, 3]
letter = 'E'
I want to replace the 3rd and 4th (so index 2 and 3) dots in the word with the letter 'E'.
Is there a way to do this? if so how would I do this? I have tried. Replace and other methods but none seem to work.
list()
(at least locally)!