Slicing in python

In this post, let us discuss slicing in python with examples. How Indexing works ? For your reminder, Indexing starts from zero. In the below example, a[0] & a[1] help us to get the element present in the zeroth and first index position Program Output What is Slicing ? Slicing in python helps us in … Continue reading Slicing in python