title: Python CSV, elements remain on same cell in txt file
body: <p>So I'm trying to create several columns for information, and I'm naming the columns, or the labels in top of the columns, but the code writes them in the following way: </p>
  
  <pre><code>Name,Age,Height,Weight,Budget,Objective,Type of diet
  </code></pre>
  
  <p>And all of this in one single cell, and I want them to be each in a different column. The code is the following: </p>
  
  <pre><code>import csv
  
  fields = ["Name","Age", "Height", "Weight", "Budget", "Objective",  '''Type of diet''']
  filename = "nutritec.csv"
  
  with open(filename, 'w+') as csvfile:
      csvwriter = csv.writer(csvfile)
      csvwriter.writerow(fields)
  </code></pre>