You have already completed these exercises!
Do you want to take them again?
You completed the NUMPY Simple Arithmetic Exercises from W3Schools.com
Share on:
Consider the following code:import numpy as npx = [2, 5, 5, 1]y = [1, 4, 3, 1]z = np.subtract(x, y)What will be the result of z?
import numpy as npx = [2, 5, 5, 1]y = [1, 4, 3, 1]z = np.subtract(x, y)
z
[ 4 2 2 1]
[ 3 9 8 2]
[ 2 1 5 1]
[ 1 1 2 0]