Print the length of the vector [3, 4]. That is the square root of 3² + 4². np.linalg.norm does this.
Data analysis labNumPy problems
Problem 46 of 50 · Linear algebra · Medium
Length of a vector
Compute the L2 norm.
Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.
1
Your solution
2