How to Create and Assign Set Types : Set : Collections PYTHON TUTORIALS


PYTHON TUTORIALS » Collections » Set »

 

How to Create and Assign Set Types


s = set('ABC')
print s
t = frozenset('BCD')
print t
print type(s)
print type(t)
print len(s)
print len(s== len(t)
print s == t



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo Collections
» Set