title: Create pattern with numbers using python
body: <p>I am trying to make a program that will print a pattern such as:</p>
  
  <p>n = 4</p>
  
  <pre><code>    1
     12
    123
   1234
  </code></pre>
  
  <p>Right now this is what I have:</p>
  
  <pre><code>n = int(input("Please enter a positive integer: "))
  line = ""
  for currentNum in range(1,n+1):
      line = " " * (n-currentNum) + line + str(currentNum)
      print(line)
  </code></pre>
  
  <p>I am not getting the right amount of spaces that I'm hoping that I would get. Any tips? Thanks.</p>
  
  <p>This is what I'm getting on IDLE:</p>
  
  <pre><code>    1
         12
           123
            1234
            12345
  </code></pre>