所以,我有这个清单
l = ['abc', 'retro', '', '', 'images', 'cool', '', 'end']
Run Code Online (Sandbox Code Playgroud)
而且,我想以这样的方式加入他们:
l = ['abc retro', '', '', 'images cool', '', 'end']
Run Code Online (Sandbox Code Playgroud)
我尝试了很多方法,但似乎没有任何工作.有什么建议?