Step 1: Create and test a function that prints the row centered. Hint use the center function and choose an appropriate value to center the row in your console.

Step 2: Create and test a function that takes a row and returns a new row, representing the next row in the sequence. For example, with an argument of ["*","**","*"] your function should return ["*","***","***","*"].

Step 3: Create and test code that calls your two functions and prints a triangle of the given height.