title: How to convert a list of dates into a list of strings
body: <p>I am trying to have a list of dates printed out across a google spreadsheet, so far I have the following script, which works fine in getting a list of dates, but I need to know how to convert this list of dates into a list of strings..</p>
  
  <pre class="lang-python prettyprint-override"><code>def daterange(startdate, enddate):
      r = (enddate+datetime.timedelta(days=1)-startdate).days
      return [startdate+datetime.timedelta(days=i) for i in range(r)]
  
  
  startdate = datetime.date(2018, 11, 19)
  enddate = datetime.date(2018,11,25)
  datelist = daterange(startdate, enddate)
  
  print ([str(date) for date in datelist])
  </code></pre>
  
  <p>I would have thought that 'str(date) would have accomplished this but it is still a list of dates..I am not an experienced programmed so please explain simply.</p>
  
  <p>** EDIT</p>
  
  <p>I realized my error.. It was printing a string fine, but as far as I can tell I need the dates to be stored as strings first, and then to update the spreadsheet with a list of strings.. I actually didn't need to use the print function at all (and I haven't with other lists of strings I've worked with on this project)Can anyone show me how to convert and store these dates as strings?</p>