1

I have two sets in a list which is followed,

set_list= [{224, 3, 138, 17, 222, 223}, {226, 3, 46, 17, 222, 223}]

I want to apply intersection operation on this list and the output should be like this:

set_list= [3,17,222,223]
Daniel
  • 5,095
  • 5
  • 35
  • 48

1 Answers1

1
result  = set.intersection(*set_list)
Joshua Fox
  • 18,704
  • 23
  • 87
  • 147