title: print matrix with indicies python
body: <p>I have a matrix in Python defined like this: </p>
  
  <pre><code>matrix = [['A']*4 for i in range(4)]
  </code></pre>
  
  <p>How do I print it in the following format:</p>
  
  <pre><code>   0  1  2  3
  0  A  A  A  A
  1  A  A  A  A
  2  A  A  A  A
  3  A  A  A  A
  </code></pre>