我收到此代码错误:
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
我做错了什么?