HI, I\'m trying to use for loop to find the difference between every two object by minus each other. So, how can I find the next value in a for loop?
for ent
i don't know exactly what are you looking but maybe this can help :
first = entries[0] for entry in entries[1:]: last = entry diff = last - first first = entry