I have this 2d list right here :
list = [ [1,2,3], [1,'',''], ['','','']]
I want to delete every instance of '' in the list, so that the output should look like this:
>> [ [1,2,3],[1]]
I think that deleting all the ''-s is gonna left me out with this list, so could you please also explain how to get rid of empty lists in 2d lists?
>> [ [1,2,3],[1],[]]
Thank you!