In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a tub with a rubber duck sits in front of a television'. Replace the letter 'i' with 'y' in the sentence.