Kinesso Interview Question

Can you write code to print an inverted triangle in python