Python Programming - Arrays - Discussion

Discussion Forum : Arrays - General Questions (Q.No. 69)
69.
Given two NumPy arrays arr1 = np.array([1, 2, 3]) and arr2 = np.array([4, 5, 6]), what does np.dot(arr1, arr2) return?
64
[4, 10, 18]
[1, 2, 3, 4, 5, 6]
32
Answer: Option
Explanation:
The np.dot() function calculates the dot product of two arrays.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.