title: Write a list of values as separate columns to a CSV file using Python
body: <p>I am trying to write the elements of a list (each time I get from a for loop) as individual columns to a CSV file. But the elements are adding as an individual rows, but not columns.</p>
  
  <p>I am new to python. What needs to be changed in my code? Please tell me</p>
  
  <pre><code>import csv
  row=['ABC','XYZ','','','ABCD','']  #my list looks like this every time
  with open('some.csv', 'w') as writeFile:
      writer = csv.writer(writeFile, delimiter=',', quotechar='"')
      for item in row:
          writer.writerow([item])
  </code></pre>
  
  <p>But I am getting the output as below:</p>
  
  <pre><code>ABC
  
  XYZ
  
  ABCD
  </code></pre>
  
  <p>My expected output is a below:</p>
  
  <pre><code>ABC XYZ    ABCD
  </code></pre>