📜  python join list ignore none and empty string - Python 代码示例
📅  最后修改于: 2022-03-11 14:45:52.565000             🧑  作者: Mango
代码示例1
>>> strings = ['foo','','bar','moo']
>>> ' '.join(filter(None, strings))
'foo bar moo'