Now let's go for the next lecture.
And that is going to be data type in Python.
Okay.
Let's create a new file.
Okay I also can create it like this.
And let's use data data type dot p y.
Okay.
In Python or in a programming language data type is an important concept okay.
Variables can store data of different types and different types can do different things.
Okay.
So let's go and see those all thing.
Okay let me clear this.
And here one of those types are text type okay.
Text type uh is str or string.
We call it a string.
Okay.
It is a text type.
Okay.
So I will tell you later with a little more example.
So the next part or the second one is numeric types.
Numeric types is like integer okay.
Like float like a complex.
And the next part is sequence sequence type.
The sequence type is like list.
And also we have tuple and we have range.
And sorry we have mapping type.
Mapping type is like dictionary okay.
And we have Boolean.
Boolean is like true and false and something like that.
And also we have binary and a lot of things.
And I think right now this is enough for now because through the course we are going to use these things
a lot.
Okay.
So here we have a built in function.
You may ask what is function?
So don't ask it right now because later I will explain it.
What is a function?
Now just listen what I'm saying okay.
We have a built in function that is called pipe okay.
If you give something or name of a variable to this type function, it will print the type of that for
you.
So let's comment this.
Also you may ask what is comment?
Don't be worry.
Comment is something or is is something that is not going to be executed while we are executing, while
we're running the program.
Now let's see here we have x.
It is equal to 12 okay.
Now let's print type of.
This x print is also a built in function okay a function that is already provided with Python.
Now let's use type of this x and save it.
And I'm right here.
Use Python and then data type.
Okay.
We have data type.
Data type.
Okay.
Dot p y and not open file.
File or directory.
Okay.
We are into the Python basics.
Oh my God.
Here is one of one thing that I have to tell you.
And that is this one.
Okay.
While I created this, uh, file that is out of the Python basics and I cannot run it.
Okay.
So let's move it into the file.
Move.
Yes!
Move it.
Now it is here inside the file.
And now if I execute this again, it will run it.
Okay.
Now you see, it's telling me that it is integer.
Okay.
This is integer.
What if I change it to.
Okay.
Let's start with this.
I want to change it to string.
It's going to be like, um, hello world.
Okay, now let's run it.
And you see, it's giving me str.
That means it is string.
And also how about float.
Let's go with float.
Okay.
This is a float type okay.
And also we have complex list dictionary booleans.
Let's go with booleans.
Okay.
Like true.
Okay.
And it's giving me bool means boolean.
Okay.
So here you see what are the data types.
Some of the data types okay.
And we are going to use it a lot through the course.
And you will learn them through the course.
Okay.
So I will see you in the next lecture.