Downloada copy of the preamble.txt file provided withthe lab assignment. Write aprogram to open the file preamble.txt and read it line by line. Foreach line, split the line into a list of words using the splitfunction. For each word, check to see if the word is already in alist. If the word is not in the list, add it to the list. When theprogram completes, sort and print the resulting words inalphabetical order.
1.Download a copy ofthe preamble.txt file provided with the lab assignment to your Hdrive in the same folder in which you will be placing your programfile.2.Create
OR
OR