title: How to print a matrix using Python
body: <p>I am trying to create a matrix and then print it using python with the following expected output:</p>
  
  <pre><code>0 0 0 0
  0 0 0 0
  0 0 0 0
  0 0 0 0
  </code></pre>
  
  <p>The code follows:</p>
  
  <pre><code>    matrix=[[]]
      matrix = [[0 for x in range(4)] for x in range(4)]
      print matrix
  </code></pre>
  
  <p>But the output comes as:</p>
  
  <pre><code>[[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]
  </code></pre>
  
  <p>Please tell me why I'm getting this type of output and help with the correct one</p>