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
Program:
def uniqueWords(text):
uniqueW=set(text.split(' '))
return uniqueW
text=input("\nInput a text string: ")
print("\nUnique Words: ",uniqueWords(text));
Program Screenshot:

Output:

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