Question: For example I have a sentence 

```
"He is so .... cool!"

```

Then I remove all the punctuation and make it in a list.

```
["He", "is", "so", "", "cool"]

```

How do I remove or ignore the empty string?

Answer: 
```
lst = ["He", "is", "so", "", "cool"]
lst = list(filter(str.strip, lst))

```
You can do this with a `filter`.

```
a = ["He", "is", "so", "", "cool"]
filter(lambda s: len(s) > 0, a)

```