In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a plate mate with a sandwich, pretzels, a banana and a cup on it'. Replace the letter 'p' with 'i' in the sentence.