Skip to content

Instantly share code, notes, and snippets.

@anitaokoh
Created March 30, 2019 14:36
Show Gist options
  • Save anitaokoh/f828001dc6c35b96065b695141029d58 to your computer and use it in GitHub Desktop.
Save anitaokoh/f828001dc6c35b96065b695141029d58 to your computer and use it in GitHub Desktop.
# To count the number of times the unique words appear , first in the unique_word list
word_dict = {} #An empty dictionary
for word in unique_words:
word_dict[word] = 0
print(word_dict)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment