Programming in Python involves frequently working with sequential or ‘indexed’ data. Indexed data are the ones stored in such structures that allow their access using indices.
However, most of the time, we are interested in working only on a small subset of the data.
Such extraction of a subset of data is called slicing.
In this tutorial, we will look at the different ways of slicing various types of data in Python.


A Comprehensive Guide to "Slicing In Python"
19.70 GEEK