# ---------------------------------------------------

A = {'a', 'b', 'c', 'd'}
B = {'c', 'f', 'g'}

# Equivalent to A-B
print 'A.difference(B) : ', A.difference(B)

# Equivalent to B-A
print 'B.difference(A) : ', B.difference(A)


# ---------------------------------------------------

A = {'a', 'b', 'c'}
B = {'d', 'e', 'f'}

print 'A.difference(B) : ', A.difference(B)
print 'B.difference(A) : ', B.difference(A)

# ---------------------------------------------------

A = {'a', 'b', 'c', 'd'}
B = {'c', 'f', 'g'}

print 'A.difference(B) : ', A.difference(B)
print 'B.difference(A) : ', B.difference(A)

print 'A : ', A
print 'B : ', B

