Pregunta de entrevista de SGEEDE

Code an algorithm to display pyramid using your preferred language.