frozenset

class frozenset(iterable=set())

Returns a frozenset object (built-in).

iterable??

REMARKS
* This is a built-in function.
* elements taken from iterable. frozenset is a built-in class.
* This is a built-in type (class) but can be used like a constructor function.
* For other containers see the built-in set, list, tuple, and dict classes, as well as the collections module.
* You can use the dict
* You can use the list
* You can use the set
* You can use the tuple
* For the Official documentation refer to python.org

fs = frozenset([1, 2, 3]) 
print(type(frozenset)) #= <class 'type'>

© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited Top