Difference/Relative Complement ( - ) : Set : Collections PYTHON TUTORIALS


PYTHON TUTORIALS » Collections » Set »

 

Difference/Relative Complement ( - )


s = set('ABC')
t = frozenset('bookBC')
print s - t



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Collections
» Set