Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Boolean Algebra by popomin
def boolean(x,y,text):
if text == "conjunction": return x&y
if text == "disjunction": return x|y
if text == "implication": return x<=y
if text == "exclusive": return x^y
if text == "equivalence": return x==y
Dec. 17, 2017