Deloitte interview question

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