title: Python - delete columns in 2D list
body: <p>I have a 2D <code>list = [[1, 8, 3], [4, 5, 6], [0, 5, 7]]</code>, and I want to delete columns in a loop.</p>
  <p>For example, columns with index: 0(first) and 2(last) -  - the result after deletions should be: <code>[8, 5, 5]</code>.
  There is a problem, because when I delete the 0th column, the size of the list is decreased to (0,1), and the 2nd index is out of scope.
  What is the fastest method to delete columns in a loop without the out-of-scope problem?</p>
  <p>For a better picture:</p>
  <pre class="lang-py prettyprint-override"><code>[[1, 8, 3], 
   [4, 5, 6],
   [0, 5, 7]]
  </code></pre>