np.arange(start, stop, step) stops before stop, the same way range does. Print the even numbers from 0 through 10.
Data analysis labNumPy problems
Problem 4 of 50 · Create arrays · Easy
Even numbers with arange
Count by twos from 0 up to, but not including, 12.
Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.
1
Your solution
2