Hi.
Welcome back.
Let's go learn topple.
What is topple?
Topple is just like list.
Let me first create a file here.
Name it topple list.
Dot.
Py.
Sorry, I say topple dot list.
That was incorrect.
Okay, so let's create a topple.
I'm going to name it topple or topple.
Or let's again give name.
Name is equal to a topple.
So topple is start with this small brackets.
Okay.
We have anything which is inside.
This is called each element of a topple.
Again let's go with name.
Okay.
And use comma to separate them.
And Ali, we have two things here right now.
Okay I am going to print this.
And that is it.
Save it and let's run it from here.
Now instead of py list.py, I'm going to use Apple dot pi and hit enter.
Now you see we have something like this.
It's also indexed okay.
We can find for example the first index.
And it will give me the first one if you want to see the second one.
So I use one and Ctrl ace and that is it.
Okay.
So this is Apple.
And also there is a lot of operation that we can do on this apple.
And for example we can move using a loop to print all these elements that is into the tuple.
And also we can add we can clear a lot of things that we can do okay.
For example, if I use a for loop and you haven't studied for loop yet, we later we will cover that
okay.
So let's use for x in the name of the tuple which is name right now okay.
For example I want to print all and everything which is the inside.
This couple.
And now if I save it, come here and print it.
It gives me nothing.
That is because I haven't painted yet.
Okay, see, it is giving me Neymar and then Alli.
You may ask what is the difference between printing like this and also printing only the name?
Okay.
While you're using only the name.
So it will give you these brackets this, this and also all things.
But while you are printing using a for loop, it will give you only the element okay.
So it is how we can use a for loop to navigate to a tuple list even dictionary.
But don't be worry if you don't know anything about for loop in the future we will be covering them.
Okay.
So see you.