title: Python: Removing a single element from a nested list
body: <p>I'm having trouble figuring out how to remove something from within a nested list. </p>
  
  <p>For example, how would I remove 'x' from the below list?</p>
  
  <pre><code>lst = [['x',6,5,4],[4,5,6]]
  </code></pre>
  
  <p>I tried <code>del lst[0][0]</code>, but I get the following result: </p>
  
  <blockquote>
    <p>TypeError: 'str' object doesn't support item deletion. </p>
  </blockquote>
  
  <p>I also tried a for loop, but got the same error:</p>
  
  <pre><code>for char in lst:
      del char[0]
  </code></pre>