how to print inverse traingle in python