Python‎ > ‎

frozenset

http://www.adilwaseem.com/

Definition
The method create an immutable and unordered collection of items.

Syntax
frozenset() -> empty frozenset object
frozenset(iterable) -> frozenset object

Parameters
Numbers & String

Examples
The method returns as:
 >>> x=frozenset({1,3,4,5})
>>> y=frozenset({3,4,6})
>>> x.intersection(y)
>>>
frozenset({3, 4})
>>>