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 side way picture of woman dressed in a purple jacket'. Reverse all words of length '1' in the given sentence.

SOLUTION: a side way picture of woman dressed in a purple jacket

PROBLEM: Sentence: 'bathroom with a wall separating toilet and shower'. Reverse all words of length '1' in the given sentence.

SOLUTION: bathroom with a wall separating toilet and shower

PROBLEM: Sentence: 'now all these frisbee throwers need is a dog'. Reverse all words of length '4' in the given sentence.

SOLUTION:
now all these frisbee throwers deen is a dog