Hello, in this video we are going to look at identity operators, which allow us to essentially have a look if two variables two values are the same. And there's two operators that is and is not. So, if we create a bar or one equals 10 ball to 10 we have all three I think see the first two identical, the second I mean the third one is not so it could be ball one is Barton. Let me show you. Again, the order doesn't matter. And this is this is his up later In this now we're going to cover the IS NOT operator is NOT operator.
So if it's not, let's run it and walk through the results. The results from forsaken, ignore them. Okay, so we need a true false false truth so that we actually would check in is 10 equal 10? Yeah, true. A false false true. So is technically No, no.
So we get false is one not coming is 10 not equal to 10? Well, it is equal, so it'll be written false, because it's checking if it's not, and finally is 10 not equal to A of the different numbers. So the actual question that is posed is true. Hence the return value of true. That's it for identity operators. You can use these in decision making and in conditional statements and anywhere Then you will essentially, you know, expecting you the true value of Boolean value like true or false so you can use it anywhere like that.
So thanks for watching and I look forward to seeing you in the next video.