Python. clean list if other list have empty sublists at same indices

Try doing some research on your own before asking people to give you the answer.

This thread has a ton of good resources for Python in general.

There are plenty of other threads that deal with list comprehension and zipping lists. The alternative is to use an index counter for the length of your lists and use that to manually coordinate pairs, but I think zipping is better practice.

This page gives a quick rundown of what list zipping is and how you can use it to pair list values.

1 Like