title: How to print out a 2d list that is formatted into a grid?
body: <p>Currently, I have made this code</p>
  
  <pre><code>def grid_maker(h,w):
      grid = [[["-"] for i in range(w)] for i in range(h)]
      grid[0][0] = ["o"]
      print grid
  
  &gt;&gt;&gt;grid_maker(3,5) =&gt; [[['o'], ['-'], ['-'], ['-'], ['-']], [['-'], ['-'], ['-'], ['-'], ['-']], [['-'], ['-'], ['-'], ['-'], ['-']]] 
  </code></pre>
  
  <p>I want to make another function that will take in the produced 2d array and print it out such that it is in this format:</p>
  
  <pre><code>o----
  -----
  ----- 
  </code></pre>
  
  <p>However, I am unsure where to start. </p>