Question: Write a python function uniqueWords(text) that takes as input a text string and RETURNS a set of all unique words. >>> uniqueWords(it was the best

Write a python function uniqueWords(text) that takes as input a text string and RETURNS a set of all unique words.

>>> uniqueWords("it was the best of times it was the worst of times") \

... == {'it', 'was', 'the', 'best', 'of', 'times', 'worst'}

plz run & display results

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!