Kinesso interview question

Can you write code to print an inverted triangle in python