def vect3_subtract(v1, v2):
    """
    Subtracts one 3d vector from another.
    v1, v2 (3-tuple): 3d vectors
    return (3-tuple): 3d vector
    """ 
    return (v1[0]-v2[0], v1[1]-v2[1], v1[2]-v2[2])