triangle_char = input('Enter a character:\n')
triangle_height = int(input('Enter triangle height:\n'))
print('')
i = 0
while i < triangle_height :
    i += 1
    print ((triangle_char + ' ')*i)
    #print (' ')
#print ('* * * ')
