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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!