code: def get_leapdays(init_date, final_date):
      
  
      curr_date = init_date
      leap_days = 0
  
      while curr_date != final_date:
  
          if curr_date.month == 2 and curr_date.day == 29:
              leap_days += 1
  
          curr_date += datetime.timedelta(days=1)
  
      return datetime.timedelta(days=leap_days)
docs: Find the number of leap days between arbitrary dates. Returns a
      timedelta object.
  
      FIXME: calculate this instead of iterating.