How To Use Xor Function In Python