def stars_around(m, n):
    i = 0
    star = "*"
    tab  = "\t"
    while i in range(m+1):
        if i == 0 or i == m:
            print((star + tab) * n)
        else:
            print(star + (n-1) * tab + star)
        i += 1

stars_around(4,5)

5fcc92bbb1645af9153994bf705c8826d7bfa52c
<mask token>

def stars_around(m, n):
    i = 0
    star = '*'
    tab = '\t'
    while i in range(m + 1):
        if i == 0 or i == m:
            print((star + tab) * n)
        else:
            print(star + (n - 1) * tab + star)
        i += 1


<mask token>

def stars_around(m, n):
    i = 0
    star = '*'
    tab = '\t'
    while i in range(m + 1):
        if i == 0 or i == m:
            print((star + tab) * n)
        else:
            print(star + (n - 1) * tab + star)
        i += 1


stars_around(4, 5)

def stars_around(m, n):
    i = 0
    star = "*"
    tab  = "\t"
    while i in range(m+1):
        if i == 0 or i == m:
            print((star + tab) * n)
        else:
            print(star + (n-1) * tab + star)
        i += 1

stars_around(4,5)
