def computeDeltaTimes(L):
    answer = []
a, b = itertools.tee(L)
next(B, None)
fmt = '%m/%d/%Y %H:%M'
for start, end in zip(a, b):
    answer.append((dt.strptime(end, fmt) - dt.strptime(start, fmt)).
        total_seconds())
return answer
Saving the amount of time between each time stamp in an array