0

I want to check if there is four consecutive days in dictionary containing multiple values

{
' 0004': ['04/13/2017', '04/15/2017', '04/16/2017', '04/17/2017'], 
' 0003': ['04/11/2017', '04/12/2017', '04/13/2017', '04/18/2017','04/19/2017']
}

Key ' 004 ' have no consecutive day while key ' 003' have 4 consecutive days

I am not getting from where I start.Help me out

wiki
  • 1

0 Answers0