📅  最后修改于: 2022-03-11 14:45:44.657000             🧑  作者: Mango
start_date = datetime.date(2020, 1, 1)
end_date = datetime.date(2020, 1, 4)
delta = datetimetimedelta(days=1)
while start_date <= end_date:
print(start_date)
start_date += delta