dsethlewis
on July 31, 2015, 6:30 a.m.
<p>Nice! A lot shorter than my solution. Good use of list() and split() as shortcuts. Using first as the variable name for the list of people in first's network is a little confusing, though. Also, you can just write</p>
<pre class='brush: python'>return second in first
</pre>
<p>instead of the whole if-else statement.</p>