How to format numbers into a specific width in python?
<p>How would you format this??</p>

<pre><code>for i in range(11):
    print(i)
</code></pre>

<p>so it would look like:</p>

<pre><code> 0
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
</code></pre>

<p>instead of:</p>

<pre><code>0
1
2
3
4
5
6
7
8
9
10
</code></pre>

<p>I would like all the single digits to be pushed into 2 spaces, instead of 1</p>
