Q.4.6 points
Given the two sets: A = {1, 4, 7, 2, 9} and B = {3, 4, 7, 8}. Write the code to perform the following operations:
a) Union of A and B
b) Intersection of A and B
c) Difference of A and B
d) Difference of B and A
e) Checking if 5 is a member of set A
f) Checking if B is a subset of A