290 B
290 B
Word Counter
A simple Python word counter that counts words in a text file.
Usage
python3 word-counter.py <filepath>
Example
$ python3 word-counter.py test-input.txt
7
Verification
- 7 words in test-input.txt: PASS
- 0 words in test-empty.txt: PASS