Your question is Find Array Sum. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
A JBL device component receives an array of integer values representing a batch of audio samples or calibration readings. Write a function that returns the sum of every value in the array.
Use a single pass through the array and do not modify the input.
Implement sum_values(values):
values, a list of integers.values.0.def sum_values(values):