Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Boolean Algebra by Moff
def boolean(x, y, action):
return int({
'conjunction': x and y,
'disjunction': x or y,
'implication': not x or y,
'exclusive': x ^ y,
'equivalence': x == y,
}.get(action))
July 21, 2015
Comments: