If you want to get items from an iterable that are within a certain range with a specific incrementation, try itertools.islice.
itertools.islice
The code above shows how this method works.
Link to the source code.