for i in range(0,x+1):
print(" "*(x-i),end="")
for j in range(0+i):
print("#",end="")
print()
#
##
###
####
h = int(input("Enter the height of the triangle"))
b = int(input("Enter the base of the triangle"))
A = 0.5 * b * h
print("Area is: ", (A))