Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
indexed operations solution in Clear category for Boolean Algebra by Tinus_Trotyl
def boolean(x, y, operation):
return eval( {"conjunction": "x & y",
"disjunction": "x | y",
"implication": "1 ^ x | y",
"exclusive" : "x ^ y",
"equivalence": "x ^ y ^ 1"} [operation] )
Sept. 9, 2017