title: adding to a list defined in a function
body: <p>How can I create a list in a function, append to it, and then pass another value into the function to append to the list.</p>
  
  <p>For example:</p>
  
  <pre><code>def another_function():
      y = 1
      list_initial(y)
  
  def list_initial(x):
      list_new = [ ]
      list_new.append(x)
      print list_initial
  
  another_function()
  list_initial(2)
  </code></pre>
  
  <p>Thanks!</p>