Delete Zeroes from list of list

 Delete Zeroes from list of list

I know how to delete zeros from a simple list, but I have a list like the following:

{{2,4,0,0,0},{3,0,0,0,0},{9,4,3,0,0}}

How do I delete the zeros from this and create a list like the following:

{{2,4},{3},{9,4,3}}

Is this even possible since they have different lengths?

Let’s block ads! (Why?)

Recent Questions – Mathematica Stack Exchange