title: How to pass a list element as reference?
body: <p>I am passing a single element of a list to a function. I want to modify that element, and therefore, the list itself.</p>
  <pre><code>def ModList(element):
      element = 'TWO'
  
  l = list();
  l.append('one')
  l.append('two')
  l.append('three')
  print l
  ModList(l[1])
  print l
  </code></pre>
  <p>But this method does not modify the list. It's like the element is passed by value. The output is:</p>
  <pre><code>['one','two','three']
  ['one','two','three']
  </code></pre>
  <p>I want that the second element of the list after the function call to be 'TWO':</p>
  <pre><code>['one','TWO','three']
  </code></pre>
  <p>Is this possible?</p>