Hello and welcome to this video.
In this video I'm going to briefly introduce you to the Python data type.
Code a boolean which is also referred to as a ball.
The boolean data type basically has two values which are true or false.
When you're working with data in python there may be times you want to check the validity of certain
conditions you can use the boolean data type to check if those conditions are true or false.
I have got my command prompt so I'm going to access the python shell by typing in Python and then pressing
enter and that should give me the python shell.
If you are on a Mac you need to type in Python 3 on your terminal.
So what I want to do I want to use a special method in Pt. on code the type that I can use to check
what class a data type is.
So to do that I just typing I'm not going to encloses in the print statement I'm just going to type
the method inside that method.
I can just type in true and press enter and that should return a class which is going to be a boon.
You can see is giving me a ball which means it is a data type called a boolean.
So if I do the same pi type and inside the parentheses are a false and press enter again they should
give me the ball so you can use the type method to check what type of data you have.
So that is it for this video in this video.
I briefly introduced you to the boolean data type in Python.
Thanks for watching and bye for now.