title: How do I create 3x3 matrices?
body: <p>I have a 2D list containing these values:</p>
  
  <pre><code>text = [[4, 3, 8, 9, 5, 1, 2, 7, 6], [8, 3, 4, 1, 5, 9, 6, 7, 2], 
  [6, 1, 8, 7, 5, 3, 2, 9, 4], [6, 9, 8, 7, 5, 3, 2, 1, 4], 
  [6, 1, 8, 7, 5, 3, 2, 1, 4], [6, 1, 3, 2, 9, 4, 8, 7, 5]]
  </code></pre>
  
  <p>For instance, text[i] should be printed like this:</p>
  
  <pre><code>4 3 8
  9 5 1
  2 7 6
  </code></pre>
  
  <p>But my matrix prints this:</p>
  
  <pre><code>   r = 6
     m = []
      for i in range(r):
          m.append([int(x) for x in text[i]])
      for i in m:
          print (i) 
  &gt;&gt;
      4 3 8 9 5 1 2 7 6 
      8 3 4 1 5 9 6 7 2
      6 1 8 7 5 3 2 9 4 
      6 9 8 7 5 3 2 1 4 
      6 1 8 7 5 3 2 1 4 
      6 1 3 2 9 4 8 7 5 
  </code></pre>