9
kokopelli
5 23
363/ 445
Last seen 3 years ago
Member for 3 years, 6 months, 29 days
Difficulty Normal
📸 IG: 3scapePhotos

Best reviews / Newest reviews
yet another simple solution-kdim 1
Great use of Regex. I need to look into this module more. More
First-Teja_002 1 1
Good solution, but if you'd like to return a positive number, then you can just use abs(). So rather than having an if statement, you'd just have: return abs(date1-date2).days More
Datetime-kokopelli 1
Well, I guess I could have just used datetime.date to convert the dates! :) More
sum map lambda-kdim 1 1
Interesting solution, as are many of your others. Would be great if they were commented for newer coders. More
4 lines, regular expression safe us :-)-kdim 1
Good solution, but would get crazy long if more stressful words were added. :) More
First-shkin29 1
Straight forward loop. Simple and readable. More
First-Sebdidier
Thanks for the note about '-', I didn't know it was '#' for Windows. Too bad it's not one cross-platform format. I resorted to using f-string with date.day More