In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a man walking across a tennis court while holding a racquet'. Replace the letter 'i' with 'r' in the sentence.