Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I HER U LYKE XNOR

Name: Anonymous 2009-01-09 3:20

hai guys, because I love you so much I made you a present:


def OR(a,b):
    """ Returns A + B
    """
    x = bool(a) or bool(b)
    return x

def AND(a,b):
    """ Returns A.B
    """
    x = bool(a) and bool(b)
    return x

def XOR(a,b):
    """ Returns A(XOR)B
    """
    if bool(a) and bool(b):
        x = False
    else:
        x = bool(a) or bool(b)
    return x

def INV(a):
    """ Returns -A
    """
    return XOR(a, True)

def NAND(a,b):
    """ Returns -(A.B)
    """
    return INV(AND(a,b))

def NOR(a,b):
    """ Returns -(A + B)
    """
    return INV(OR(a,b))

def XNOR(a,b):
    """ Returns -(A(XOR)B)
    """
    return INV(XOR(a,b))

Name: Anonymous 2009-01-09 15:46

>>59 A "living thinking penis" which you describe at >>59 is only a part of male body and cannot be independent. Thus making a claim that "FrozenVoid" is a thinking penis invalid.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List