Ugam interview question

Write Inverted pyramid code