擅长:python、mysql、java
<p>你想做的是-</p>
<pre><code>strtemp = ";".join(l)
</code></pre>
<p>第一行在<code>MySpace</code>的末尾添加一个<code>;</code>,这样在拆分时,它不会发出<code>MySpaceApple</code>
这将把我连接成一个字符串,然后你就可以-</p>
<pre><code>l1 = strtemp.split(";")
</code></pre>
<p>这是因为strtemp是一个字符串,它有.split()</p>