title: Creating a 2d Array in Python
body: <p>How do you make a 2d grid? Next, how do you replace random elements in that grid with something else?</p>
  
  <p>I tried:</p>
  
  <pre><code>def introgrid( ):
       anyrow = 0
       print(columnrow)
       grid = [symbol for r in range(column)]
       grid2 = (grid[0]+"  ")*15
       for i in range(row):
           print(grid2+str(anyrow))
           anyrow+=1
  
  symbol= "."
  columnn= 15
  row= 12
  rowcount = 0
  columnrow = "0  1  2  3  4  5  6  7  8  9  10 11 12 13 14"
  </code></pre>
  
  <p>This produces a grid but it doesn't let you change elements of it randomly. HELP!</p>