PYTHON - "If a=3 remove list number 3"
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/627435/how-to-remove-an-element-from-a-list-by-index-in-python">How to remove an element from a list by index in Python?</a>  </p>
</blockquote>



<p>My question is essentially in the title. I need a way to remove, for example, the second number in a list if variable = 2. Also, this should be able to work with any variable so that raw_input can be used to determine which list number to delete.</p>
