input: 
  def intersection(set1, set2): 
     """ Generates the intersection of two sets of integers.
     >>> intersection({1, 2, 3, 4}, {3, 4, 5, 6})
     {3, 4}
     >>> intersection({10,20,30}, {30,40,50})
     {30}
     """
     return set1 & set2
  
output:     return set1 & set2