From 8b2c780949cd62032159e23734b50713a4407dbd Mon Sep 17 00:00:00 2001 From: absentMindedDeveloper <35352701+absentMindedDeveloper@users.noreply.github.com> Date: Sat, 3 Nov 2018 19:11:44 -0700 Subject: [PATCH] Update index.md (#20903) Added a note underneath the Xor description describing the ability to form all other logical operators using only xor. --- guide/english/logic/logical-operators/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guide/english/logic/logical-operators/index.md b/guide/english/logic/logical-operators/index.md index b38339431d..46f3435cda 100644 --- a/guide/english/logic/logical-operators/index.md +++ b/guide/english/logic/logical-operators/index.md @@ -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")**
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 |