check difflib against two lists code example Example: diff 2 lists python def get_diff(a: list,b: list) -> list: return list(set(a) ^ set(b))