Ejemplo n.º 1
0
def and_(x, y):
    check_type(x, bool)
    check_type(y, bool)
    return x and y
Ejemplo n.º 2
0
def not_(x):
    check_type(x, bool)
    return not x
Ejemplo n.º 3
0
def or_(x, y):
    check_type(x, bool)
    check_type(y, bool)
    return x or y
Ejemplo n.º 4
0
def or_(x, y):
    check_type(x, bool)
    check_type(y, bool)
    return x or y
Ejemplo n.º 5
0
def and_(x, y):
    check_type(x, bool)
    check_type(y, bool)
    return x and y
Ejemplo n.º 6
0
def not_(x):
    check_type(x, bool)
    return not x