array_one = [1, 2, 3, 4] array_two = [6, 7, 1, 2, 17, 23, 3, 48, 4] lc = [e for e in array_one if e in array_two]
So far so good, I find the values