The operation used to get all the items that are unique to each set is called _______.

  • difference()
  • intersection()
  • symmetric_difference()
  • union()
The 'symmetric_difference()' operation returns a new set containing all elements that are unique to each of the sets being operated on. It computes the symmetric difference between sets.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *