Login using Social Account
     Continue with GoogleLogin using your credentials
In this assignment, we will have 2 separate Numpy arrays of same length as shown below:
import numpy as np
arr1 = np.array([1, 2, 3, 4, 6, 7])
arr2 = np.array([1, 1, 3, 6, 7, 9])
We would write a function that would take these 2 arrays (or any other 2 arrays) as parameter, and then return the total number of elements (in the same position) which are different.
total_diff
total_diff
function on these 2 arraysTaking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
No hints are availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...