Question: In Python Average Number of Words If you have downloaded the source code from the Computer Science Portal you will find a file named text.txt
In Python
Average Number of Words
If you have downloaded the source code from the Computer Science Portal you will find a file named text.txt in the Chapter 8 folder. The text that is in the file is stored as one sentence per line. Write a program that reads the file's contents and calculates the average number of words per sentence.
Thanks!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
