examples/lists/languages.py
from __future__ import print_function

english = set(['door', 'car', 'lunar', 'era'])
spanish = set(['era', 'lunar', 'hola'])

print('english: ', english)
print('spanish: ', spanish)
inter = english.intersection(spanish)
print('intersection: ', inter)

print('issubset: ', inter.issubset( spanish ))

diff = english.symmetric_difference(spanish)
print('symmetric_difference: ', diff)

english:  set(['car', 'door', 'lunar', 'era'])
spanish:  set(['era', 'hola', 'lunar'])
intersection:  set(['era', 'lunar'])
issubset:  True
symmetric_difference:  set(['car', 'door', 'hola'])

stdtypes: set