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: 'a group of people sitting at a table with pizza and soda'. Reverse all words of length '4' in the given sentence.
Answer:
a group of people sitting at a table htiw pizza and ados
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: 'a group of people sitting at a table with pizza and soda'. Reverse all words of length '4' in the given sentence.
Answer:
user
a group of people sitting at a table htiw pizza and ados
assistant
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: 'a group of people sitting at a table with pizza and soda'. Reverse all words of length '4' in the given sentence.
Answer:
a group of people sitting at a table htiw pizza and ados