In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'someone playing frisbee with a dog in the middle of a court'. Replace the letter 'd' with 'r' in the sentence.