title: How to separate by comma with csv
body: <p>I have the list:</p>
  
  <pre><code>x=["2018-08-27 15:21:49","2018-08-27 15:21:52","2018-08-27 15:21:56"]
  y=["5523","3512","3383"]
  </code></pre>
  
  <p>I want the csv will be like ("" is in one cell)</p>
  
  <pre><code>"2018-08-27 15:21:49" "5523"
  "2018-08-27 15:21:52" "3512"
  </code></pre>
  
  <p>but the following code could not work. If I don't use the [row], each cell will be filled with one character. I understand that this will be easy, but would you please offer a help? My brain just go blank and could not figure it out...
  Thanks!</p>
  
  <pre><code>import csv
  x=["2018-08-27 15:21:49","2018-08-27 15:21:52","2018-08-27 15:21:56"]
  y=["5523","3512","3383"]
  L=[]
  with open("test.csv","w",newline='') as f:
      writer=csv.writer(f)
      for i in range(len(x)):
          row=x[i]+','+y[i]
          print([row])
  </code></pre>