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:54

curious, I am the original PENIS metaphor anon.... and I would argue that a penis is indeed thinking to a very low-level (when compared relatively with the human brain, for example!) but thinking nonetheless.

the nerves of the penis are no different from a section of the nerves of the brain, therefore if the penis is non-thinking, then the brain is non-thinking... or equivalently thought is independent of nerves.

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