--- title: Squares pre: "3. " weight: 5 # available_flavours: ["any_language"] # submission_type: repo --- ## Print (triangles & squares) using loops **1.** Write a function that takes in number as argument and prints a square **Input** ```js let square(n) => ``` ```py def square(n): ``` **Output** ``` expected output: remember to use "*" ##### ##### ##### ##### ##### ``` **2** Write a function that takes in number as argument and prints a hollow square in the center **Input** ```js let square(n) => ``` ```py def square(n): ``` **Output** ``` expected output: remember to use "*" ##### # # # # # # ##### ```