join() takes exactly one argument (2 given)
<p>I'm getting error with this code:</p>

<pre><code>Traceback (most recent call last):
  File "./main.py", line 172, in grab_first_name
    f_name = ''.join(n.split()[0], '\n')
TypeError: join() takes exactly one argument (2 given)


f_name = ''.join(n.split()[0], '\n')
f.write(f_name)
print f_name
</code></pre>

<p>What I'm doing wrong?</p>
