Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
5th solution in Clear category for Boolean Algebra by thealfest1
def boolean(x, y, operation):
return {"conjunction": x and y,
"disjunction": x or y,
"implication": not x or y,
"exclusive": x != y,
"equivalence": x == y}[operation]
Sept. 9, 2019