I'm still a noob when it comes to python. I have this list that contains strings. My problem is to remove ''
(empty string) from the list.
I've tried to use .remove()
in python but it still does not work.
For example, I have a list that contains next data:
a = ['', 'word', 'three', '', 'five']
I just want the output to be:
a = ['word', 'three', 'five']