Python‎ > ‎frozenset‎ > ‎

frozenset.issubset()

http://www.adilwaseem.com/

Introduction
Report whether another set contains this set.

Syntax
frozenset.issubset(iterable)

Parameters
iterable

Example
The result with the bool True or False whether the first set is subset of other.
 x=frozenset({1,3,4,5})
y=frozenset({3,4,6})
z=frozenset.issubset(x,y)
print(z)

>>> 
False
>>> 

Comments