title: Nested Loop Python
body: <pre><code>count = 1
  for i in range(10):
      for j in range(0, i):
          print(count, end='')
          count = count +1
      print()
  input()
  </code></pre>
  
  <p>I am writing a program that should have the output that looks like this.</p>
  
  <pre><code>1
  
  22
  
  333
  
  4444
  
  55555
  
  666666
  
  7777777
  
  88888888
  
  999999999   
  </code></pre>
  
  <p>With the above code I am pretty close, but the way my count is working it just literally counts up and up. I just need help getting it to only count to 9 but display like above. Thanks.</p>
  
  <p><img src="https://i.stack.imgur.com/XINe9.png" alt="enter image description here"></p>