def banned_word_combo_fixer(l):
    l = ' '.join(l)
    for combo in banned_word_combos:
        if l in ' '.join(combo):
            l = l.split(' ')
            for i in range(len(l) - len(combo)):
                if l[i:i+len(combo)] == combo:
                    l[i:i+len(combo)] = [random.choice(combo)]
                    l = ' '.join(l)
                    break
                else:
                    pass
        else:
            pass
    return l
dataset/ETHPy150Open rossgoodwin/sonnetizer/sonnetizer_n.py/banned_word_combo_fixer/swapped operands of `in`