How to count consecutive days in a list of dates

前端 未结 0 1933
刺人心
刺人心 2021-02-05 15:13
# below is the example of list of dates:
date_list = [date(2021, 1, 2), date(2021, 1, 3), date(2021, 1, 5)]

I would like to count all consecutive dates

相关标签:
回答
  • 消灭零回复
提交回复
热议问题