Daily Challenge (245 Part Series)
Write a function that will draw a pyramid. The function should take one integer parameter that will describe how many lines tall the pyramid should be.
This challenge is simple, but requires a bit of reflection to get it right. Here is an example in Node.js hosted on Repl.it.