OK let's briefly talk about tuples now tuples are like lists but they're not like lists.
So lists are what we call mutable meaning that they can be changed.
Now tuples tuples are immutable.
They can not be changed.
Now for this course this is the last time you're going to be seeing tuples.
But it's important to define what they are so that you know them you know how to identify them.
And they're just in the back of your mind as Hey I know what a tuple is.
And that thing is immutable I can't change it once I have it.
So let's take a look at a tuple.
OK let's make a new line here and start a comment for you to say tuples do not change.
And also we can put parentheses like this because remember lists have brackets tuples have parentheses.
So we're going to say something like grades.
Now we're going to an item that won't change.
So we're going to define grades here as is A B C D and F which is common for the US grading system.
And this is an example of a tuple.
So again we have parentheses instead of brackets.
Now if we were to go in here and we were to try to do a grades got pop for example and try to remove
one of these.
Not going to be possible or a grade that append we're not going we'll put it something else in here.
This is immutable.
We cannot change this.
Once we have a defined so we can go ahead and print out our grades and we can say print out grades.
It's proud to be.
And that will work and you can see now we printed a B.
So we have similar features or abilities that we did here.
But we cannot change it in any way.
So once we have this defined and set that's it for us.
So this is it.
I just want to quickly show you what a tuple is.
Again we're not going to get into it at all in this course.
But it should be defined and we should know the difference between a list which is mutable versus a
tuple which is immutable.
So in the next video we're going to get into looping.
So we've already cover looping in the bash scripting section of the course but we're going to go ahead
and get into the python version of looping as well and make some more sense of it.
So I will get you over in the next video.