Różnica dwóch zestawów w Pythonie
x = {1, 2, 3, 4, 5, 6}
y = {1, 2, 3, 4}
z = x.difference(y)
# 5, 6
Bst Barracuda
x = {1, 2, 3, 4, 5, 6}
y = {1, 2, 3, 4}
z = x.difference(y)
# 5, 6