title: python datetime printing vs appending to list shows different results
body: <p>I'm confused on why I'm getting different results. I would like to generate a list or dates in this format 2019-01-01T00:00:00:</p>
  
  <pre><code>start_date ='2019-01-01T00:00:00'
  end_date ='2019-01-31T23:59:59'
  start_date_object = datetime.strptime(start_date, '%Y-%m-%dT%H:%M:%S')
  end_date_object = datetime.strptime(end_date, '%Y-%m-%dT%H:%M:%S')
  
  start_date_list=[]
  print start_date_object
  start_date_list.append(start_date_object)
  print start_date_list
  </code></pre>
  
  <p>But here are the results:</p>
  
  <p>Print statement:</p>
  
  <pre><code>2019-01-01 00:00:00
  </code></pre>
  
  <p>Print list:</p>
  
  <pre><code>[datetime.datetime(2019, 1, 1, 0, 0)]
  </code></pre>