Skip to content

Commit 676266a

Browse files
authored
Merge pull request #784 from Shrutigupta03/patch-6
Update Example of Numpy program using python
2 parents fbe77c7 + 25769a7 commit 676266a

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)