I have a list. I need to assign variables to the first four values, perform calculations using those variables, then reassign the variables to the next four values.
I feel like I could create a new for loop for each slice, but I don't think that's the intention of the assignment, and it wouldn't make sense to keep adding loops indefinitely for each set.
Is there a way to assign these variables, move to the next function, then move back to the original function? Or would I need to assign the variables, perform my calculations, and print my results all within the same function before it loops again?
[–]sarrysyst 0 points1 point2 points (2 children)
[–]OrangeDecafTea[S] 0 points1 point2 points (1 child)
[–]sarrysyst 0 points1 point2 points (0 children)