Removing a sublist from a main list without knowing its position in the list : <p>So say i have a 2D list of randomly generated sub lists containing random numbers like this </p>

<pre><code>list = [(1,2),(2,3),(3,4),(4,5)]
</code></pre>

<p>How would I remove the sublist "(2,3)" from the main list if I didn't know its position in the list?
I tried using .pop but couldn't make it work without knowing the position of the sublist within the list.</p>
