Print a length-5 array of zeros. Use np.zeros, not a Python loop.
Data analysis labNumPy problems
Problem 2 of 50 · Create arrays · Easy
A row of zeros
Allocate a length-5 array filled with zeros.
Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.
1
Your solution
2