SyntaxFix
Write A Post
Hire A Developer
Questions
import datetime d1 = datetime.date(2008,8,15) d2 = datetime.date(2008,9,15) diff = d2 - d1 for i in range(diff.days + 1): print (d1 + datetime.timedelta(i)).isoformat()