Write a Python program to create a symmetric difference


Topic: Write a Python program to create a symmetric difference

Solution

setx = set(["apple", "mango"])
sety = set(["mango", "orange"])
setc = setx ^ sety
print(setc)



List all Python Programs