# all operations of set theory : Union,intersection,difference and symmetric difference can be applied#
A={1,2,3,4,5}
B = {3,4,5,6,7,89,32,45,9}
# Difference of two sets A-B#
print('Difference of A and B is : ', A-B)
# Union of two Set AUB#
print('Union of A and B is : ', A | B)
# Intersection of two sets A&B#
print('Intersection of A and B is : ', A & B)
# symmetric difference of A and B#
print('Symmetric difference of A and B is : ', A ^ B)
# In Symmetric difference has all elements of A and B but exclude common elements#

