Accenture interview question

Skill sets interview, write in any programming language or pseudo code in printing the half pyramid. Then by using a single loop