Return the sum of all integers in `nums`. Variant **#7** focuses on clean iteration without built-in shortcuts.
Example 1
Input: nums = [7,8,9,10,11,12,13,14,15,16,17]
Output: 132
Constraints
Acceptance: 69% · Topics: array, math
← All practice problems