Deloitte Interview Question

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