Loading your session…
A small idea, worth understanding
Follow the loop values
Trace a Zig for loop over array elements.
A for loop can iterate directly over array elements. The capture between pipes names the current element.
Use a mutable accumulator when the loop changes a total.
Two activities. No typing needed. You can always retry, or read an explanation and continue.