def generate_shape(n):
    s=''
    for i in range(n):
        s+=(n*'+')
        if i !=(n-1):
            s+='\n'
    return s

print(generate_shape(8))
5dc091ba5ea3e0526d36edcaafdaa1840a5bff51
<mask token>

def generate_shape(n):
    s = ''
    for i in range(n):
        s += n * '+'
        if i != n - 1:
            s += '\n'
    return s


<mask token>

def generate_shape(n):
    s = ''
    for i in range(n):
        s += n * '+'
        if i != n - 1:
            s += '\n'
    return s


print(generate_shape(8))

def generate_shape(n):
    s=''
    for i in range(n):
        s+=(n*'+')
        if i !=(n-1):
            s+='\n'
    return s

print(generate_shape(8))