Can someone please help??

The user supplies a string that is a paragraph from a regular English text. You need to count the number of words in the given string, of each given length. The goal is then to produce a list of pairs of numbers (i.e. a list of lists, something like [[1,3], [2,5], [4,3],]) where each pair [x,y] consists of a specified length x and the number of words y, in the given string, of length x, if y is greater than zero. DETAILED INSTRUCTIONS: 1.Write a function called wordCount that: a. takes a string as a parameter​



Answer :

Other Questions