To get the symmetric difference of two sets in Python, you can use the "^" operator or the "symmetric_difference()" method.
Using the "^" operator:
main.py111 chars5 lines
Using the "symmetric_difference()" method:
main.py131 chars5 lines
gistlibby LogSnag