im trying to compare between one list and 3 other lists with the same number of indexes. for example I have this list
[A, B, C]
and I have created with a certain function another list with random nested lists such as:
[[A ,B ,B], [C, B, A], [B, B, C]]
but I want to compare each nested list to the original list and see how many characters in each nested list is in the same place as in the original list It works when I compare each index in the original list to each of three indexes in the nested list. My teacher says its fine, but to me it looks stupid, what if i had 100 nested lists? there must be a better way to compare between lists. suggestions anyone?