5 lines
129 B
Python
5 lines
129 B
Python
setx = set(["apple", "mango"])
|
|
sety = set(["mango", "orange"])
|
|
#Symmetric difference
|
|
setc = setx ^ sety
|
|
print(setc) |