Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Boolean Algebra by Kisielev
def boolean(x, y, operation):
operations_name = {"conjunction":x*y, "disjunction":x+y, "implication":((not x) + y), "exclusive":(x!=y), "equivalence":(x==y)}
return bool(operations_name[operation])
May 18, 2018
Comments: