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