Write cumulative(nums) returning the running total using NumPy.
cumulative([1, 2, 3]) → [1, 3, 6]
cumulative([5]) → [5]
Submit runs 3 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.