rows = 6
k = 0

for i in range(1, rows):
    for space in range(1, rows-i):
        print("  ")
        while k != 2*(i-1):
           print "%s " %"*",
           k = k + 1
        k = 0
    print("\n")

