 So let's have a look at boolean switches. We have these boolean operators and and all So that's this and sign which is shift seven on most keyboards and Shift backslash on most keyboards for these two little upright signs. So let's use These just an example so you can quickly see I'm going to create the computer variable a I'm going to put inside of it the integer value seven And yeah, I asked two questions on either side of this and sign and they've got to return Either true or false. So is prime a that's true. Is a equal to seven? That's also true. So they both true in a fight if I Execute that that is true. So now I've asked these questions on both sides But they might be lines of execution of some function Etc. Or the the value that gets returned by a function It needn't just be these straightforward questions that I'm asking on the left-hand side here is prime as a keyword Just evaluates whether a value is a prime or not Now let's do this equals nine now is prime a now nine is not a prime So this is going to return false and on the right hand side We're asking the question is the value that's inside of a at the moment. Is it nine? Yes, it is. I'm gonna have a false and a true But they both have got to be true because that is an and sign So if we run this piece of code, it's going to return false because they both have to be true for us to return a true That's opposed to the or which one or the other being true Will give us a true return. So is prime a now a seven at the moment So that that part is true, but a is seven is definitely not equal to nine So that price part is false But if I execute this I am going to get a true because one of the two is true And it needn't just be this the first one because look at this I can say equals seven So is a equal to nine? So this is false now Whereas the second part is true But if I execute this line of code again, it's going to return a true because it's an or sign one or the other or both As long as one of them is true, it's going to return a true and look at this again equals nine It is not a prime So it's a it's a false on the side and again a true on that side and the code Executes to true because either one of them. We need one of them to be true So those are Boolean switches If we in the next section of this lesson, we're going to take a look at the for loops You