title: How to make a number triangle
body: <p>I'm trying to make a triangle that appears like</p>
  
  <p><code>
  1
  12
  123
  1234
  12345</code> </p>
  
  <p>This code causes it to just print 1 over and over</p>
  
  <pre><code>def line(n):
      print('1' *n)
  
  def triangle(n):
      for i in range(1,n+1):
          line(i)
  </code></pre>