Note that your return value is an array, but it’s supposed to be a scalar, right? Did you do the “sum” as the instructions say?
Here’s the “checklist” for common errors on this function.
Note that your return value is an array, but it’s supposed to be a scalar, right? Did you do the “sum” as the instructions say?
Here’s the “checklist” for common errors on this function.