TASK DEFINITION: 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.
PROBLEM: Sentence: 'a man in shorts is swinging a bat'. Reverse all words of length '1' in the given sentence.

SOLUTION: a man in shorts is swinging a bat

PROBLEM: Sentence: 'a grey cat with green eyes looking straight ahead'. Reverse all words of length '1' in the given sentence.

SOLUTION: a grey cat with green eyes looking straight ahead

PROBLEM: Sentence: 'three bananas lined up in a row next to a laptop'. Reverse all words of length '4' in the given sentence.

SOLUTION:
three bananas lined up in a row txen to a laptop