Update index.md (#20903)

Added a note underneath the Xor description describing the ability to form all other logical operators using only xor.
This commit is contained in:
absentMindedDeveloper
2018-11-03 19:11:44 -07:00
committed by Christopher McCormack
parent b724a61b4f
commit 8b2c780949

View File

@ -37,6 +37,8 @@ Returns the opposite value. Ex. if A is true, then !A is false, and if A is fals
**XOR ("eXclusive or")** </br>
Is known as **exclusive or**. Similar to OR, but returns False if both A and B are true. That is, XOR returns true if one and only one of A or B is True.
Note: Xor is unique among the logical operators because by combining several together you can form all of the other logical operators using only Xor.
| A | B |XOR(A,B)|
|---|---|---|
| f| t | t |