title: Python- Changing element within a list of lists
body: <p>I'm trying to change an element within a list of lists. Here is my code and I'm using python version 3:</p>
  
  <pre><code>myboard = []
  
  colList = []
  #makes a 2D list/array of the rows and colums
  for i in range(columns):
      colList.append(0)
  
  for x in range(rows):
      myboard.append(colList)
  
  
  myboard[0][1] = 999
  
  print(myboard[0][1])
  </code></pre>
  
  <p>When I do this, it changes all the 1'th elements in each list to 999. Help please!</p>