how does set subtraction of the same elements im python work code example
Example: difference of two set in python
x = {1, 2, 3, 4, 5, 6}
y = {1, 2, 3, 4}
z = x.difference(y)
# 5, 6
x = {1, 2, 3, 4, 5, 6}
y = {1, 2, 3, 4}
z = x.difference(y)
# 5, 6