I've created a list of sets that I'd like to pass into set.intersection()
For example:
List_of_Sets = [{1,2,3},{3,4,5},{5,6,7}]
set.intersection(List_of_Sets)
Result:
TypeError: descriptor 'intersection' requires a 'set' object but received a 'list'
Desired Output:
{3,5}
How would I pass each set within the list as a separate argument into set.intersection()?