

wordlist = {}
s_word = 'snakes'
e_word = 'brains'
with open('words (1).txt') as f:
    for word in f:
        word = word.strip()
        wordsplit = word.split()
        words.setdefault(wordsplit, []).append(words)
        for word in wordlist:
            if len(word) != len(wordlist):
                break
                #skip word
            elif word = e_word:
                print e_word
            else:
                #check to see if the word is one letter off
                
            
           
  
            
            
