Part 1. Definition
In this task, you need to remove 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: 'breakfast and a glass of milk is on the table'. Remove all words of length '3' in the given sentence.
Answer: breakfast a glass of milk is on table
Explanation: Words 'and', 'the' are of length 3. So they are correctly removed.
Part 3. Exercise
Sentence: 'a redhaired woman wearing a green tyedye shirt jean shorts and a flower lei poses for a photo taken by a young girl'. Remove all words of length '4' in the given sentence.
Answer:
a redhaired woman wearing a green tyedye shirt shorts and a flower lei poses for a photo taken by a young