title: Inserting a new line in a 2D matrix
body: <p>I have two functions that I can use to make an array:</p>
  
  <pre><code>    def makelist(size):
          list = []
          for i in range(size):
              list = list + [None]
          return list
      def mmatrix(rows,cols):
          matrix = makelist(rows)
          for i in range(rows):
              matrix[i] = makelist(cols)
          return matrix
  </code></pre>
  
  <p>When I make an array: <code>mmatrix(3,3))</code>, it prints all three arrays on the same line. How do I insert new lines between arrays?</p>