Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Boolean Algebra by vnkvstnk
def boolean(x, y, operation):
if operation == "conjunction":
return x & y
if operation == "disjunction":
return x | y
if operation == "implication":
return x <= y
if operation == "exclusive":
return x != y
if operation == "equivalence":
return x == y
June 6, 2019
Comments: