3
What is the output of the following code?
a = {1, 2, 3}
b = {2, 3, 4}
print(sorted(a - b), sorted(a ^ b))Medium
What is the output of the following code?
a = {1, 2, 3}
b = {2, 3, 4}
print(sorted(a - b), sorted(a ^ b))Log in to join the discussion.