def rhyme_loc(word, word_set):
    loc = []
    rhyming_words = rhyme_dict[word]
    for i in range(len(word_set)):
        if rhyming_words in word_set[i]:
            loc.append(i)
        else:
            pass
    return loc
dataset/ETHPy150Open rossgoodwin/sonnetizer/sonnetizer_n.py/rhyme_loc/swapped operands of `in`