Retention/Intersection Update ( &= ) : Set : Collections PYTHON TUTORIALS


PYTHON TUTORIALS » Collections » Set »

 

Retention/Intersection Update ( &= )


s = set('ABC')
u = frozenset(s)
s = set(u)
s &= set('BC')
print s



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo Collections
» Set