Question: Write a function called countUniqueWords() that takes a filename (string) as an argument and returns the number of unique words in that file. That is,
Write a function called countUniqueWords() that takes a filename (string) as an argument and returns the number of unique words in that file. That is, how many words not counting any duplicates.
code in python3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
