Question d’entretien chez Deloitte

Write a python code to print a triangle with equal sides in python.