x=eval(input("Enter the height of the triangle:\n"))
space=x-1
star=1
for i in range(0,x):
    print(" "*space,end="")
    print("*"*star)
    space=space-1
    star=star+2


0b5e774227ace69a12c93252186e6b304a09078f
<mask token>

<mask token>
for i in range(0, x):
    print(' ' * space, end='')
    print('*' * star)
    space = space - 1
    star = star + 2

x = eval(input('Enter the height of the triangle:\n'))
space = x - 1
star = 1
for i in range(0, x):
    print(' ' * space, end='')
    print('*' * star)
    space = space - 1
    star = star + 2

x=eval(input("Enter the height of the triangle:\n"))
space=x-1
star=1
for i in range(0,x):
    print(" "*space,end="")
    print("*"*star)
    space=space-1
    star=star+2

