NiCE Interview Question

How to print pyramid?