Python program to count the frequency of words in a given file
kw.py
Output
cat Weekdays Monday Monday Sunday Wednesday Monday Monday Sunday Wednesday Friday kodingwindow@kw:~$ python3 kw.py Characters - 69 Lines - 9 Word Count - 9 Monday - 4 Sunday - 2 Wednesday - 2 Friday - 1
What Next?
Python Networking
Advertisement