Symmetric Difference In Python Hackerrank Solution