Question: In Homework-08, we will continue working with the file Gettysburg.txt. Note that the text file contains one sentence for every line in the text file.

In Homework-08, we will continue working with the file Gettysburg.txt. Note that the text file contains one sentence for every line in the text file. Write a program that reads the file's contents and determines the total number of words in the Gettysburg Address. If you look closely at the Gettysburg Address, you will notice that Lincoln used an interesting piece of punctuation many times in his address. It looks like this "_ _" (two hyphens together with a space on either side). These do not count as words. Call your program: YourName-Hwrk8B.py. As usual, display your name in the output printed to the screen Sign
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
