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.

np.arange(start, stop, step) stops before stop, the same way range does. Print the even numbers from 0 through 10.

1

Your solution

2

Scratch