P xor Q

pxorq

The compound statement P xor Q  is true only when Either P is true OR Q is True.

EITHER P OR Q

P = My coat is Red
Q = My coat is Blue

Either my coat is red OR my coat is blue.
I cannot wear the same coat at the same time.

Advertisements