for max_list in max_list_from_all_plates:
for high_indexes in max_list:
print([row[2] for row in high_indexes])
i = 0
i += 1
for i in range(len(high_indexes)):
print("index", i)
print("high_indexes", high_indexes[i][2])
if high_indexes[i][2] == high_indexes[i+1][2]: # ошибка тут
print("equal")
else:
print("not equal")
output
['8', 'F', 'P', 'R']
index 0
high_indexes 8
index 1
high_indexes F
index 2
high_indexes P
index 3
high_indexes R
['4', '6', 'K']
index 0
high_indexes 4
index 1
high_indexes 6
index 2
high_indexes K
Не могу сравнить символы, думаю что проблема с итерацией символов
Перемещено xaizek из general