Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Boolean Algebra by UFO665
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]
Dec. 3, 2015