‫All right, all right, all right.
‫So up until now, we've spent forever talking about numbers and strings, and you're thinking, oh,
‫god, we have so many more to go through.
‫And my head hurts already.
‫Well, you know what?
‫I think you're going to really, really like this one because this one's really, really short and they're
‫called booleans and booleans and python is bull.
‫And Bull.
‫Well, there's only two options.
‫A bull can either be true or.
‫False.
‫That's it.
‫How awesome is that?
‫You just learned booleans.
‫So a boolean I can assign to, let's say my Facebook profile.
‫I can say Andre or I can say name equals.
‫Andre.
‫And make sure that we form this into a string.
‫And then I can say, well, let's say we're creating an even better social network than Facebook or
‫creating our own.
‫And this social network also has the is cool option on your user profile.
‫And let's say for now it's false.
‫You see over here that's being highlighted now is cool is set to false.
‫But all of a sudden I'm thinking my profile doesn't look good if its cool is set to fall.
‫So I'm going to change that.
‫I'm going to say is cool is now equal to true now my profile has been changed to is cool is true.
‫Hooray.
‫And that's it.
‫Booleans represent this idea of true and false, which in programming is kind of like saying zero and
‫one.
‫They're logical values, right?
‫There's some logic that we can use and we'll see when we talk about conditionals in upcoming videos
‫where booleans become really, really useful because we can use booleans to control the flow of our
‫program to do something if something is true, to do another thing.
‫If something is false, it's a cornerstone of computer science.
‫And by the way, a topic we're going to explore more and more is this idea of using Booleans to denote
‫logic.
‫So, for example, what do you think a bull of one converting one to boolean would do if I print this
‫and I click run?
‫I get true in bullion.
‫One means true.
‫A zero.
‫Well, that equals false.
‫And remember, we're just simply converting this integer into a bullion value and a bullion well is
‫just either false or true, nothing else.
‫That's it.
‫And I can also convert a string that says true.
‫And to a bully and true.
‫Again, this is something we're going to explore a little bit more when we talk about conditional logic.
‫But I wanted to make this video nice and short to let you know that, hey, not all these data types
‫are as complex as well.
‫Numbers and strings.
‫All right, nice and short.
‫I'll see you in the next one.
‫Bye bye.