I wrote the below function which successfully creates pairs of dates in the format I need. However, I'm fairly new to Python and feel there must be a way to make this easier to read. Can this code be improved?
def getNextTenDays():
dates = []
arrive = datetime.datetime.now()
for n in range(1, 11):
arrive += datetime.timedelta(days=1)
next_day = arrive + datetime.timedelta(days=1)
arrive_s = datetime.datetime.strftime(arrive, '%m/%d/%Y')
next_day_s = datetime.datetime.strftime(next_day, '%m/%d/%Y')
dates.append({'arrive': arrive_s, 'depart': next_day_s})
return dates