Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
eval(f"{op}({x},{y})") solution in Clear category for Boolean Algebra by flpo
from operator import (
and_ as conjunction,
or_ as disjunction,
eq as equivalence,
xor as exclusive,
le as implication)
def boolean(x, y, op):
return eval(f"{op}({x},{y})")
Sept. 16, 2017
Comments: