Skip to content

Commit 25769a7

Browse files
Update Example of Numpy program using python
1 parent 735b91e commit 25769a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Example of Numpy program using python

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ arr = np.array([1, 2, 3, 4, 5])
55
print(arr)
66

77
print(type(arr))
8+
print("Sum of array elements: ", np.sum(arr))

0 commit comments

Comments
 (0)