how to make triangle using for loop in python