title: Python - Printing numbers with spacing format
body: <p>Let's say I have an array of numbers where</p>
  
  <pre><code>list = [(4, 3, 7, 23),(17, 4021, 4, 92)]
  </code></pre>
  
  <p>and I want to print the numbers out in such a way so that the output looks somewhat like this:</p>
  
  <pre><code>[   4  |   3  |   7  |  23  ] 
  [  17  | 4021 |   4  |  92  ]
  </code></pre>
  
  <p>Where the numbers are as centered as possible and that there is enough space in between the "|" to allow a 4 digit number with two spaces on either side.</p>
  
  <p>How would I do this?</p>
  
  <p>Thank you.</p>