Question: I need help creating a function that finds 1) the average number of characters per word 2) the average number of words per sentence 3)The
I need help creating a function that finds 1) the average number of characters per word 2) the average number of words per sentence 3)The average number of charactesr per 50 words & 4). The average number of sentences per 50 words. My print statement is "the average number of char per word is..." etc etc. one on each line. My input is a string. Seems straightforward but my code returns unrealistic numbers for reason. . I used a list comprehension for each one after spliting the string. In Python 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
