In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'the black cat likes to nap near any electronic device'. Replace the letter 'a' with 'e' in the sentence.