Find all unique words in a file Shakespeare used over 20,000 words in his works. Download a copy of the file www.py4e.com/code3/romeo.txt (https://www.py4e.com/code3/romeo.txt). Write a program to open the file romeo.txt and read it line by line. For each line, split the line into a list of words using the split function. For each word, check to see if the word is already in the list of unique words. If the word is not in the list of unique words, add it to the list. When the program completes, sort and print the list of unique words in alphabetical order
fhand = open("romeo.txt", "r+")
for line in fhand:
words = line.split()
for word in words:
if word in words:
continue
elif word not in words:
words.append(word)
continue
continue
words.sort()
print("words")