NumPy - Creating Arrays
Which of the following statements is correct about this code snippet:
import numpy as np arr = np.linspace(1, 5) print(arr)
import numpy as np arr = np.linspace(1, 5) print(arr)
np.linspace requires start and stop, with num optional (defaults to 50).num, so it uses the default of 50 points.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions