I have nested list like that [a,1],[b,2],[c,3]
My code:
for i in list:
    if i[0] == 'b':
        del i
And thats just not working. Code do not crash, but it does not delete neither.
I was trying something like that:
for i in list:
    if something:
        del i[1]
        del i[0]
But it returns [a,1],[],[c,3] and i am not satisfied with that.
 
     
     
    