human
Complete this python program:
def length(length):
assistant
#Here is the Python code you requested.

    """Checks value for minimum length using len().
    """
    def min_len(value):
        if (not (len(value) >= length)):
            raise ValueError('Minimum    length    is    {0}    but    value    is    {1}'.format(length, len(value)))
        return True
    return min_len