user
You need to complete the following task:

Demonstrate how to use XOR operator in Python.


assistant
In Python, the XOR operator is written as "^". It is a binary operator that will perform the operation of exclusive OR on two boolean values. A value of True is returned only if one of the operands is True and the other is False. For example:

a = True
b = False

result = a^b  # result will be True