title: Print statement alignment and padding
body: <p>Excuse me if the title is a bit misleading but I was a bit unsure on a relevant title name.</p>
  
  <p>I trying to make a text box around some like the snippet here:</p>
  
  <pre><code>Die1 = random.randint(1,10)
  Die2 = random.randint(1,10)
  Die3 = random.randint(1,10)
  
  if Die1 &gt; Die2:
      print ("+------------------------------+")
      print ("|  Die 1:  |       |    Die 2  |")
      print ("|    %d     |       |      %d    |" % (Die1,Die2))
      print ("+------------------------------+")
  
  
  else:
      print ("+------------------------------+")
      print ("|  Die 1:  |       |    Die 2  |")
      print ("|    %d     |       |      %d    |" % (Die1,Die2))
      print ("+------------------------------+")
  </code></pre>
  
  <p>This is all dandy if i get a result of 1 digit numbers :</p>
  
  <pre><code>+------------------------------+
  |  Die 1:  |       |    Die 2  |
  |    2     |       |      6    |
  +------------------------------+
  </code></pre>
  
  <p>However twp digit numbers will give me this:, another space will be pushed out for two tens.</p>
  
  <pre><code>+------------------------------+
  |  Die 1:  |       |    Die 2  |
  |    10     |       |      2    |
  +------------------------------+
  </code></pre>
  
  <p>I could do something like:</p>
  
  <pre><code>if Die1 &gt; Die2 and Die1 or Die2 == 10:
      print ("+------------------------------+")
      print ("|  Die 1:  |       |    Die 2  |")
      print ("|      %d     |       |      %d    |" % (Die1,Die2))
      print ("+------------------------------+")
  </code></pre>
  
  <p>Etc... but i'm sure there is a more practical way of doing this.</p>
  
  <p>Is there a way to use a single digit to represent the &amp;s ?, and/or and some padding to allow for a second digit if its needed.</p>
  
  <p>I Had a look at the Python Doc's on the matter and i read some padding options for 0's but nothing that could help me directly.</p>