Nakley | Free HD Wallpapers, Background Images

Max() Arg Is An Empty Sequence

You need to check whether any member of words is also in lexicon_keys. There are two simple ways to do that. One is a simple application of the any function: If any (word in lexicon_keys for word in self. words):