Difference finds elements in the first set but not the second:
a = {1, 2, 3}
b = {2, 3, 4}
only_a = a - b # {1}
only_a = a.difference(b) # Same result
Order matters. a - b is different from b - a:
print(a - b) # {1} - in a but not in b
print(b - a) # {4} - in b but not in a
Think of it as "what's in A that isn't in B?"