Just use the `.union()`

method.

```
>>> l = [set([1,2,3]), set([4,5,6]), set([1,4,9])]
>>> frozenset().union(*l)
frozenset([1, 2, 3, 4, 5, 6, 9])
```

This works for any iterable of iterables.

### Related Contents:

- Why is the order in dictionaries and sets arbitrary?
- Understanding generators in Python
- Generator expressions vs. list comprehensions
- Lazy Method for Reading Big File in Python?
- Get difference between two lists
- Does Python have an ordered set?
- How to get all subsets of a set? (powerset)
- Difference between Python’s Generators and Iterators
- Best way to find the intersection of multiple sets?
- How to JSON serialize sets?
- Python -Intersection of multiple lists?
- Resetting generator object in Python
- Return in generator together with yield in Python 3.3
- How do I build a numpy array from a generator?
- What makes sets faster than lists?
- Split a generator into chunks without pre-walking it
- Can iterators be reset in Python?
- Time complexity of python set operations?
- how to split an iterable in constant-size chunks [duplicate]
- Empty set literal?
- If range() is a generator in Python 3.3, why can I not call next() on a range?
- Converting “yield from” statement to Python 2.7 code
- How to len(generator()) [duplicate]
- Python generator that groups another iterable into groups of N
- Why is this python generator returning the same value everytime?
- Is there an expression for an infinite iterator?
- Are sets ordered like dicts in python3.6
- Cartesian product of a dictionary of lists
- Return in generator together with yield
- How to compare a list of lists/sets in python?
- Get the nth item of a generator in Python
- How to construct a set out of list items in python?
- Why aren’t Python sets hashable?
- How to make a set of lists
- Why don’t Python sets preserve insertion order?
- Is python’s “set” stable?
- Can generators be recursive?
- Why does next raise a ‘StopIteration’, but ‘for’ do a normal return?
- Unbounded range()
- Is set.pop() deterministic?
- How to join two generators (or other iterables) in Python?
- How to clone a Python generator object?
- What is the difference between sets and lists in Python?
- Get unique values in List of Lists
- Handle generator exceptions in its consumer
- Python: using a recursive algorithm as a generator
- set of list of lists in python
- How to use fit_generator with multiple inputs
- Coroutine vs Continuation vs Generator
- Are Generators Threadsafe?