Using in-built function sum(arr), we can get the sum of the elements of the array passed to it. Method 2 : Python Code. Run arr = [10 ...
確定! 回上一頁