Code: Select all
def print_empty_square(size, c):
for row in range(size):
for col in range(size):
if (row == 0 or row == size -1
or col == 0 or col == size -1):
print(c,end = "")
else:
print(' ',end = "")
print()
< /code>
def print_empty_square(size, c):
for row in range(size):
for col in range(size):
if (row == 0 or row == size -1
or col == 0 or col == size -1):
print(c,end = "")
else:
print(' ',end = "")
print()