So to give a rough example without any code written for it yet, I\'m curious on how I would be able to figure out what both lists have in common.
Example:
If the two lists are the same length, you can do a side-by-side iteration, like so:
list_common = [] for a, b in zip(list_a, list_b): if a == b: list_common.append(a)