Avatar ·

如何去除列表中的空格

📁 列表, python

我有一个列表

word = ['    ', 'hello', '  ']

如何从列表中删除空字符串?

我用Python实现