How to remove item from the following data type in Python?
<p>If I have the following data type:</p>

<pre><code>[('a', 'digital-text'), ('b', 'bbbbbbb'), ('c', '1318913293'), ('d', '1-3')]
</code></pre>

<p>How to I remove item <code>b</code> so the output will look like:</p>

<pre><code>[('a', 'digital-text'), ('c', '1318913293'), ('d', '1-3')]
</code></pre>

<p>How do I also check if <code>b</code> exists before deleting it? I tried <code>if 'b' in xxxx</code> but this can't find it</p>

<p>I am new to Python</p>
