I have some code that prints out the summary of a given array but want to know how to print the position rather than the value inside the sum?
The current output is:
I am trying to figure out how to get the output to print the position of the array:
sum() = 15
sum([0,3)] = 15