Python‎ > ‎frozenset‎ > ‎

frozenset.issuperset()

http://www.adilwaseem.com/

Introduction
Report whether this set contains another set.

Syntax
frozenset.issuperset(iterable)

Parameters
iterable

Example
The method returns with the output whether the first set is superset of second.
 x=frozenset({1,3,4,5})
y=frozenset({3,4,6})
z=frozenset.issuperset(x,y)
print(z)

>>> 
False
>>>

Comments