<blockquote>
<p><strong>Possible Duplicate:</strong><br/>
<a href="https://stackoverflow.com/questions/3428536/python-list-subtraction-operation">Python list subtraction operation</a> </p>
</blockquote>
<p>我想删除两个列表之间的公共元素。我是说这样的事</p>
<hr/>
<pre><code>a=[1,2,3,4,5,6,7,8]
b=[2,4,1]
# I want the result to be like
res=[3,5,6,7,8]
</code></pre>
<hr/>
<p>有什么简单的Python方法可以做到这一点吗?</p>