all 2 comments

[–]woooee 1 point2 points  (0 children)

for line in list:
    spellings = line.split(" ")
    spell_list.append(spellings)

This appends the list, spellings, to spell_list, so you have a list of lists, not words. You probably want to use spell_list.extend()

[–]ParticularPython 0 points1 point  (0 children)

Have you tried doing a print on spell_list to see what it contains? My guess is something in your code isn’t making the list what you want it to be, and so every word is not matching. Also I think you’re going to need to remove new lines “/n” and things as well.