NiCE interview question

How to print pyramid?