I have a script that creates bins. Next i loop over these bins and calculate some values. When i calculate in the first iteration of the loop i want to store a temp value which i can check within the same loop in the next iteration. Then after checking i want to fill the temp_value with the current value of the loops iteration.I have a script that creates bins. Next i loop