Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Clear category for Boolean Algebra by vinc
def boolean(x, y, operation):
return {'conjunction': x and y,
'disjunction': x or y,
'implication': not x or y,
'exclusive' : not x == y,
'equivalence': x == y
}[operation]
Sept. 30, 2014
Comments: