Main.Lab9 History

Hide minor edits - Show changes to markup

March 22, 2010, at 11:07 AM MST by 10.84.44.69 -
Changed lines 1-3 from:

Lab8

Python dictionaries

to:

Lab8

Python dictionaries

March 22, 2010, at 11:07 AM MST by 10.84.44.69 -
Added lines 1-5:

Lab8

Python dictionaries

Write a function word_count(file_name) that returns a python dictionary that counts how many times each word occurs in the text in the file provided as input. Try to the best of your ability to remove punctuation marks.