In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'an avocado, an apple, a banana, a pear, and an orange'. Replace the letter 'p' with 'b' in the sentence.