Robinhood Interview Question

Printing some triangles to the terminal