问题 For example i have following list = [['1', '2'], ['1', '3'], ['1', '4'], ['1', '5'], ['2', '1'], ['4', '1'], ['2', '6']] I want to match if a sub list has a reversed sub list within same list (i.e. ['1', '2'] = ['2', '1']) , and if True than to remove from the list the mirrored one. The final list should look like : list = [['1', '2'], ['1', '3'], ['1', '4'], ['1', '5']['2', '6']] This is what i tried: for i in range(len(list)): if list[i] == list[i][::-1]: print("Match found") del list[i][::