title: How to use for loop and add one day (timedelta) every time
body: <p>Here is my code:</p>
  
  <pre><code>import datetime
  
  date = datetime.date(2015,10,1)
  today = datetime..today()
  oneday = datetime.timedelta(days = 1)
  
  date_counter = 0
  while not date == today:
      date_counter+=1
      date += oneday
  </code></pre>
  
  <p>In this code I use while loop to achieve my goal--to count the days between today and the specific day chosen by users.</p>
  
  <p>However, I want to use for loop to do the same thing. Can it rewrite by for?</p>