In this task, you need to reverse all words of a given length in the sentence. The number of letters in a word determine its length. For example, the length of the word "apple" is 5.

[EX Q]: Sentence: 'a group of zebras gather at a watering hole'. Reverse all words of length '1' in the given sentence.
[EX A]: a group of zebras gather at a watering hole

[EX Q]: Sentence: 'a pinto horse walking in a coral with two people'. Reverse all words of length '2' in the given sentence.
[EX A]: a pinto horse walking ni a coral with two people

[EX Q]: Sentence: 'a person is on the court and playing tennis'. Reverse all words of length '3' in the given sentence.
[EX A]:
a person is on eht court dna playing tennis