Group consecutive dates together with Python

前端 未结 0 1421
孤独总比滥情好
孤独总比滥情好 2021-02-11 05:50

Given:

dates = [
  datetime(2014, 10, 11), 

  datetime(2014, 10, 1), 
  datetime(2014, 10, 2),
  datetime(2014, 10, 3),

  datetime(2014, 10, 5         


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