03 Wordfrequency Py 40 Points Write Program Reads Contents Text File Program Create Dictio Q37099416

please write in python
03) WordFrequency-py (40 Points) Write a program that reads the contents of a text file. The program should create a dictionaThe program should write the word and its frequency to a different file WordFreq.txt Imagine the input file data.txt contains03) WordFrequency-py (40 Points) Write a program that reads the contents of a text file. The program should create a dictionary in which the keys are the individual words found in the file and the values are the number of times each word appears. For example, if the word “the” appears 28

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.