title: Nested Loop number output
body: <p>I need to output this</p>
  
  <pre><code>1
  22
  333
  4444
  55555
  666666
  7777777
  88888888
  999999999
  </code></pre>
  
  <p>So far all I have is:</p>
  
  <pre><code>def main():
      for i in range(10):
          for n in range(i):
              print(i)
  
      return
  main()
  </code></pre>
  
  <p>I get all the correct numbers, it's just not formatted correctly. If you guys could throw some hints my way I'd appreciate it.</p>