a = [['a', 'b', 'c', 'd'], ['r', 'd', 'g', 's'], ['e', 'r', 'a', 'b'], ['p',
    'o', 'i', 'u']]
for i in range(len(a)):
    pass
how to compare one item in a list with all the other items in this list, python