擅长:python、mysql、java
<pre><code># make set of first names from full names
firstnames = set(name.split[0] for name in people if " " in name)
# get names that aren't in the above set
people[:] = (name for name in people if name not in firstnames)
</code></pre>