Don't like this style? Click here to change it! blue.css

HW 4: Anagram Tool

For this assignment I want you to create a file which lists all of the legal words which can be formed from a rack of 7 letters.

Here is a dictionary of acceptable words.

Read in the dictionary, do whatever you want to it, then call your function on a "rack" of 7 letters. Print to a file all of the words that can be made from those letters.

For instance if the rack were "RETINAS" (one of the best bingo-racks there is) then your output would be a file like this one:

aeinrst.txt

Have each line contain a word, lines sorted by alphabetical order.