In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a small dog examines a white object in front of a pile of knit caps'. Replace the letter 'a' with 'k' in the sentence.