Part 1. 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.
Part 2. Example
Sentence: 'as a guy jumps over the snow with his snowboard people riding on the lift behind him look on'. Reverse all words of length '6' in the given sentence.
Answer: as a guy jumps over the snow with his snowboard elpoep gnidir on the lift dniheb him look on
Explanation: Words 'people', 'riding', 'behind' are of length 6. Reversing these words results in 'elpoep', 'gnidir', and 'dniheb' respectively. So this is a correct answer.
Part 3. Exercise
Sentence: 'professional tennis player making an athletic shot during a match'. Reverse all words of length '1' in the given sentence.
Answer:
professional tennis player making an athletic shot during a match