Return the sum of all integers in `nums`. Variant **#33** focuses on clean iteration without built-in shortcuts.
Example 1
Input: nums = [33,34,35,36,37,38,39]
Output: 252
Constraints
Acceptance: 78% · Topics: array, math
← All practice problems