code: def daterange(start_date, end_date):
      
      for n in range(int((end_date - start_date).days)):
          yield start_date + timedelta(n)
docs: Yield one date per day from starting date to ending date.
  
      Args:
          start_date (date): starting date.
          end_date (date): ending date.
  
      Yields:
          date: a date for each day within the range.