title: write() argument must be str, not list
body: <p>I'm trying to write a register program using python 3.6.2 and i'm getting the following error: <code>write() argument must be str, not list</code></p>
  
  <p>Here is the code: </p>
  
  <pre><code>database = open('database.csv', 'a')
  linetowrite = ['username', 'password', 'forename', 'surname', 'dob', 'artist', 'genre']
  database.write(linetowrite)
  database.close()
  </code></pre>