In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a living room has a television, a table, and a painting'. Replace the letter 'n' with 'm' in the sentence.