human
Complete this python program:
def genFull(pset, min_, max_, type_=None):
assistant
#Here is the Python program you requested.

    """Generate an expression where each leaf has a the same depth
    between *min* and *max*.
    :param pset: Primitive set from which primitives are selected.
    :param min_: Minimum height of the produced trees.
    :param max_: Maximum Height of the produced trees.
    :param type_: The type that should return the tree when called, when
    :obj:`None` (default) the type of :pset: (pset.ret)
    is assumed.
    :returns: A full tree with all leaves at the same depth.
    """
    def condition(height, depth):
        'Expression    generation    stops    when    the    depth    is    equal    to    height.'
        return (depth == height)
    return generate(pset, min_, max_, condition, type_)