Is there a way to iterate over two lists of different length at the same time without combining them?
I tried itertools.product(list1, list2)
but that's very similar to a nested loop. So the second list gets iterated for each item of the first list, which is not what I want.
I want to compare both lists and see if they match.