Print every other item of [8, 3, 5, 1, 9, 4], starting at the first. The slice is start:stop:step. Leave start and stop empty.
Data analysis labNumPy problems
Problem 10 of 50 · Index and slice · Easy
Every other item
Slice with a step of 2.
Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.
1
Your solution
2