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 griaffe eating from a tall basket at a zoo'. Reverse all words of length '2' in the given sentence.

SOLUTION: a griaffe eating from a tall basket ta a zoo

PROBLEM: Sentence: 'group of antelopes and deer standing outside in a savannah'. Reverse all words of length '9' in the given sentence.

SOLUTION: group of sepoletna and deer standing outside in a savannah

PROBLEM: Sentence: 'a green train is coming down the tracks'. Reverse all words of length '2' in the given sentence.

SOLUTION:
a green train si coming down the tracks