title: Drawing a right triangle (Python 3)
body: <p>I'm having a bit of an issue. I'm trying to make this program output a right triangle based on the height and symbol that is specified by the user, but whenever I enter the symbol and height desired the program will output the correct shape, but upside-down. I've been having some difficulties getting a firm grasp of loops and through trial and error, this is the best I could come up with thus far. Could someone help a brother out, please. Thank yous in advance.</p>
  
  <pre><code>triangle_char = input('Enter a character:\n')
  triangle_height = int(input('Enter triangle height:\n'))
  print('')
  
  for i in range (len(triangle_char)):
      for j in range (triangle_height):
          print((triangle_char) * triangle_height )
          triangle_height -= 1
  </code></pre>
  
  <p>This code will return this output when character is '*' and height is 5:</p>
  
  <pre><code>*****
  ****
  ***
  **
  *
  </code></pre>
  
  <p>The expected output when those values are entered should be:</p>
  
  <pre><code>*
  **
  ***
  ****
  *****
  </code></pre>