擅长:python、mysql、java
<p>试试这个:</p>
<p><strong>Python-2</strong>:</p>
<pre><code>In [978]: old_list=["a_apple","b_banana","c_cherry"]
In [980]: new_list = map(lambda x: x.split("_")[1], old_list)
In [981]: new_list
Out[981]: ['apple', 'banana', 'cherry']
</code></pre>
<p><strong>Python-3</strong>:</p>
<pre><code>In [4]: new_list = list(map(lambda x: x.split("_")[1], old_list))
In [5]: new_list
Out[5]: ['apple', 'banana', 'cherry']
</code></pre>