The easiest way is list comprehension to remove empty elements from a list in Python. And another way is to use the filter() method.
確定! 回上一頁