Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Step by step solution in Clear category for Boolean Algebra by luipenox
def boolean(x, y, operation):
if operation == "conjunction":
return x and y
elif operation == "disjunction":
return x or y
elif operation == "implication":
return not(x and not(y))
elif operation == "exclusive":
return (x != y)
elif operation == "equivalence":
return not(x != y)
March 18, 2022
Comments: