Premium problem41. Sum with add.reduce

Medium Locked

Return the sum of all elements of array Z as a number.

Input

[0 1 2 3 4 5 6 7 8 9]

Output

45

Premium problem

This one's part of Premium. Unlock the full NumPy track plus every other premium problem on the site.

Implement solve(...)