title: Python not saving list values?
body: <pre><code>row_4 = [0,0,0,0]
  row_3 = [0,0,0,0]
  row_2 = [0,0,0,0]
  row_1 = [0,0,0,0]
  def printer():
      print(row_1)
      print(row_2)
      print(row_3)
      print(row_4)
  while True:   
      place_counter = int(input('which column')) 
      test = row_4[place_counter]
      if test == 0:
          row_4.insert((place_counter) , 1)
          place_counter -= 1
          row_4.pop(place_counter)
          print(test)
          printer()
  
      if test !=0:
          print('not allowed')
          print(test)
  </code></pre>
  
  <p><em>when you run this code, you are able to write to row_4 index 1, however when it loops again, if you try to write to index 1 again, it should throw up a 'not allowed' however the program ignores this and jus re writes over row_4 index 1! why is that and how can i fix it?</em></p>