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.

Sentence: 'a tennis player is swinging at a tennis ball'. Reverse all words of length '2' in the given sentence.
a tennis player si swinging ta a tennis ball

Sentence: 'wooden train passing through a forested hilly area'. Reverse all words of length '1' in the given sentence.
wooden train passing through a forested hilly area

Sentence: 'a man getting ready to catch a frisbee'. Reverse all words of length '1' in the given sentence.

a man getting ready to catch a frisbee