epequeno/ThinkPy-Solutions — comment on commit 41c83d5bfc6392870b7c09d1f505967cc6810984
File:  line 0
By epequeno:

This kind of works so far. The problem I have is that replace() takes all instances of what it finds and replaces them. For example, if I have the word 'buffs' this will append 'bus'. That is useful since if I delete the two f's from buffs I will get 'bus' but what if bufs was a child word also? I would have missed that case by removing both f's

I need to figure a way to make sure I'm looking for matches by removing one char at a time. Also, looking for matches in the list was hella slow, switching to searching if in the dict was way, way faster.