Computer Science, asked by avsrikanth015, 8 months ago

WAP a program that takes an array SS as an argument and add all the odd values and display the sum

Answers

Answered by Neha30712
1

Explanation:

Python numpy sum() function syntax

  1. The array elements are used to calculate the sum.
  2. If the axis is not provided, the sum of all the elements is returned. ...
  3. We can specify dtype to specify the returned output data type.
  4. The out variable is used to specify the array to place the result. ...
  5. The keepdims is a boolean parameter.
Similar questions