#!/usr/env python
from __future__ import print_function


'''
Find the difference between two sets
The different item can be either in set a or set b,
but not in both.
'''
a = set(range(10))
b = set(range(5, 15))
difference = a.symmetric_difference(b)
print(difference)

@@ -206,16 +206,69 @@
 5, 15))%0A
+#  we can either use the symmetric_difference method%0A
 differen
@@ -316,8 +316,80 @@
 erence)%0A
+#  or we can use the %5E operator%0Aprint(a %5E b)%0Aprint(difference == a %5E b)%0A

use the ^ operator to calculate the symme idff