What is the output of the following code snippet?
s1 = {1,2,8,4,7}
s2 = {2,4,6}
print(s1 ^ s2)


Posted on by