What is the result of the intersection operation between two sets?

  • A set containing all elements common to both sets
  • A set containing all elements in either set
  • A set containing elements unique to the first set
  • An empty set
The intersection operation between two sets in Python returns a new set containing all elements that are common to both sets. If there are no common elements, it returns an empty set.
Add your answer
Loading...

Leave a comment

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