Suppose I have a list of lists of elements which are all the same (i\'ll use ints in this example)
int
[range(100)[::4], range(100)[::3], range(100)
Here's a one-liner using the good old all() built-in function:
all()
list(num for num in data[0] if all(num in range_ for range_ in data[1:]))
Interestingly, this is (I think) more readable and faster than using set for larger data sets.
set