Well a ball slicing with a particular increment in the column number or in the particular number and
the step size you can also do something like this.
OK.
So let's say for example I want to slice from two or let's go for a single area itself.
Let's understand single-A first.
So if this is your Y and of course y of treacle and five will be three and four.
The current fourth element that means you are one to three.
There's a three.
And the fourth element right now if I said three colon it would start from three and go up to the last
element.
Start from three three.
The third element.
Well yeah.
And if you see a three colon so we just saw that it gives you this pretty global.
But if I say if I put one more in and I say two then have a look what is y basically Y is you know why
is this entire thing.
And then we have slice from the third element till the last.
But now I'm going to say I want a slice from the tournament to the last element but I want to do it
in steps of two which means I don't want I you know after taking this element I want you to add the
next by to.
What is the next of this element 3 plus 2 5 index.
What is a value at 5 2.
What does evaluates 7 to add 2 0.
It's 2 2 2 2.
And then finally 7 so you're going to have something like that so you're going to have insteps of two.
So let's see it's going to be 4 2 2 2 4 2 2 2.
And the last one that is.
So 3 to the end instead of two.
If I do three to the end insteps of three it will be four.
And then add up at the index What does the next year or three add up 3 to 8 4 5 6.
So what is the index at 6.
This is four five and six.
What does the element 1.
So here's one.
And then you add up three on second on two three.
And then there goes to.
And then if you add 3 0 it's goes out of scope.
So no it's not there anymore is not so good for one two for you.
That's lising when you come to 0 1 DeAndre and you want to slice with a particular step size.
Now let's is.
Pretty killer.
You know we have a step size but now we want to slice it let's say with particular step size.
But I want to do it for a bigger area that is for a 2D area.
So how do we do that.
Right.
I can do that by saying X off.
OK so I'm going to say are we here.
So he does X.
So I said coaling call and let me do insteps of two for the rules.
So I'll start from zero through all go to the last straw.
But in steps of two can you see that 67 12:58 are the first choice taken but after that there all that
is taken is not the next row but the row after that.
Is that correct.
Now if I want to take alternate alternate columns there goes sixty seven then 15 then 77.
If I do it in steps 3 for the columns I would do.
You know I would get something like this 6 7 0 1 2 3 and that goes up.
That's it.
So sixty seven and 12.
And then of course this 45 and the safety read.
So yeah.
So that's about that's about how you can that's about slicing and slicing with step size.
So I hope you understand this in quite detail and this is quite important for our understanding when
whenever you have to do stuff like this.
OK.
Now as we go ahead with pi of course these are the major things that how to access a particular umpire
and stuff like that.
But now we need to figure out how to do arithmetic operations how to do different operations on the
numpad a how to deal with you know deal with certain data which needs to be captured on which needs
to be you know put up on.
You know you want to store some data you want to get some data from the entire area.
You want to do that then we can figure out ways and means to do it.
OK.