Crear una caja

Published by Helen Yu in

Crea una función que cree una caja según la dimensión n.

Ejemplos

make_box(5) ➞ [
  "#####",
  "#   #",
  "#   #",
  "#   #",
  "#####"
]

make_box(3) ➞ [
  "###",
  "# #",
  "###"
]

make_box(2) ➞ [
  "##",
  "##"
]

make_box(1) ➞ [
  "#"
]

Notas

N/A