Hi, everyone.
In this lecture, we will learning how to access the items.
This means one item or more items, you know, least.
Or a couple.
We put at least the top four together because their items can be assessed by their index numbers.
The least the table items are indexed.
We already talked about that in the previous lectures.
Okay.
We can indexed at least a couple in such order.
The first one is zero.
For example, this is a the letter list, ABCD and so on.
So what's the first one?
A case index is zero.
B The second way, the index is one.
The third is a tool.
And so and so forth.
We also can use the next he would number.
Means the index.
But we from and to the beginning in such order.
For example, minus one refers to the last item.
The last one.
And minus two means the second.
Minus three means the third.
Last term.
Yeah.
Each here.
And so on and so forth.
Okay.
That we index, we use start and a semicolon and to access a range of a list or a couple with the start
of index start.
This is the starting index.
And.
Means that end index.
But he had in the index is excluded.
Zero.
Index can be missed.
Just write as a single column.
Let's see some concrete examples.
For example, for a name list, Alice, Mike and Tom join Susie and any any things that you can use
numbers or here's just a naming list.
Yeah.
To some name.
Last name.
Least zero.
Means we take the first item.
Alex.
Minus one.
Just know we mentioned the last.
Last one.
That's me.
That's Susie.
If we use namely the tool, some column for all of us means from a tool.
This is the first one in zero one tool.
This means from the Tom.
To Paul.
Paul.
But the the fourth one excluded.
It's a zero.
One, two, three, four.
So the.
These are the false but excluding.
So we only tape Tom the toy saying the tool to Fortescue's.
And if the first one is zero, he means zero.
We count.
Or may.
So is one, two, three.
For.
See.
Zero.
One, two, three, four.
Yes, it was a.
Is it the fourth?
Yeah.
We just exclude Colonel Pete.
Think we got Alex?
Mike, Tom.
John.
Okay.
Let's put these.
Into the Perth Idol.
Just right.
You can see what that looks like.
Now here.
Yeah, that looks like peace.
Be right.
You filed?
We ran the module.
Must be saved.
First go to our border to install the code.
And then I'll study with you and name.
Least harmful.
I turn?
Two sets.
If you are ready to name, we can see clearly what these files is.
It is a list.
Top of items.
Yes.
Let's see.
You see me get exactly like this, Alex?
Yes, Suzanne.
Tom, don't.
Okay.
This is lecture.
Uh, for the next lecture, we will talk about how to access the set item.
And if you are ready, just go ahead for the next lecture.
See you then.