Liste der Liste aus der Liste

a = [1,2]
b = [2,3]
-----------------------------------------------
# single line
excluded = list(set(a) - set(b))

>>> excluded
[1]

-----------------------------------------------
# Or define function:
def set_approach(a, b):
    return list(set(a) - set(b))

>>> set_approach(a, b)
[1]
Benja