def desenhaQuadrado(altura, largura, simbolo = '#', preenchimento = ' '):
print(simbolo * largura)
for _ in range(altura-2):
print('{}{}{}'.format(simbolo, preenchimento * (largura - 2), simbolo))
print(simbolo * largura)
print('Um quadrado:')
desenhaQuadrado(7, 10)
print('\nOutro quadrado:')
desenhaQuadrado(4, 8, '*', '%')
ZGVmIGRlc2VuaGFRdWFkcmFkbyhhbHR1cmEsIGxhcmd1cmEsIHNpbWJvbG8gPSAnIycsIHByZWVuY2hpbWVudG8gPSAnICcpOgoJcHJpbnQoc2ltYm9sbyAqIGxhcmd1cmEpCglmb3IgXyBpbiByYW5nZShhbHR1cmEtMik6CgkJcHJpbnQoJ3t9e317fScuZm9ybWF0KHNpbWJvbG8sIHByZWVuY2hpbWVudG8gKiAobGFyZ3VyYSAtIDIpLCBzaW1ib2xvKSkKCXByaW50KHNpbWJvbG8gKiBsYXJndXJhKQoKcHJpbnQoJ1VtIHF1YWRyYWRvOicpCmRlc2VuaGFRdWFkcmFkbyg3LCAxMCkKCnByaW50KCdcbk91dHJvIHF1YWRyYWRvOicpCmRlc2VuaGFRdWFkcmFkbyg0LCA4LCAnKicsICclJykKCgo=