If I were to have a 2d array in python, say
lst = [['a','1', '2'], ['b', 1, 2], ['c', 1, 2], ['b', 3, 4]]
I'd like a way to remove any items from lst where the first item is 'b', so that you return with:
[['a','1', '2'], ['c', 1, 2]]
Any help would be greatly appreciated, preferred if only built in libraries are used. Thanks