Question: in python do the following. output the total number of Words and tie matin a Ch between words.) A sample run of the program: Enter
in python do the following.

output the total number of Words and tie matin a Ch between words.) A sample run of the program: Enter nouns: apple bananas cantalopes durian Number of words: 4 Fraction of your list that is plural is e.s And another sample run of the program: Enter nouns: hats gloves coats glasses scarves Number of words: s Fraction of your list that is plural is 1.e Hint: Break this problem into pieces 1. First, count the mumber of words in the string the user entered (hint 2. Next, ignoring the last word qwhich is a special case and can be dealt with 3. Last, check the last word to see if count the mumber of spaces). Print out the mumber of words. Make sure this works before going ext part. separately, count the mumber of words ending in 's' (hint: count the mumbe r of"s ". Tess it ends in "s ". since t's the last word, the "s" will always occur at the same index in the string
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
