Write in Python you're quite used to the comparison operators that we generally do.
So here we have a few comparison operators which can be used to winnow pi.
So I'll just put them in markdown and tear and let's say competitors and operators so that's what you're
going to deal with.
Right.
So in comparison operators we can say we're used to you know we can apply them to whatever types.
Again first of all remember in part empires end.
And then let's start.
Let's say will to end the dot Attie and create of course some kind of NRD.
Right.
So this is going to be one this is going to be second.
It's going to be third.
So.
So just over here I'm going to put some ralliers let's say on come on to come on three or four come
a 5 km or six and let me see.
But here are seven come a comma nine.
Now let's say I define another party the is equal to that.
And there's another IRA.
But this time this particular rally is consisting of different kinds of values.
Right.
So let me just put it up here.
Let's say
so so let me say I put values like on come a five column or three.
You know five comma five comma two and there's going to be four comma nine comma nine.
Right.
And I want to compare these two address the elements in these two Audi's I want to compare them.
So are they equal or not equal so if I use the comparison Alfredo let's say the equal to equal to operator.
If I print this what will it give me.
So this I can use it many times.
So it says OK the first two elements are same so it's true.
So it turns to you a true false true false kind of thing.
These two elements are not same.
So it's always false.
So you can have some comparison being done in this particular man and the type of this particular they
will be bullier boolean.
Right.
So that's really the type which you can also say.
Also if you want you can if you want to check if they are equal so because if you want to see sometimes
if you know you want to use something like that.
So you can also use a methodical as anti-dote at a at a underscore equal rate.
And if I say a comma B.
Right and if I say enter it says false no.
They both are not equal.
OK.
I want to check if you know if there is actually a real case with sequels so equal let's say a.m.-I
of course tables are equal but that's right.
Yeah.
So it returns true.
So I can use some conditions like that.
And you know get things done.
What were the what things were things with the comparison operators.
OK.
What about logical operators.
We can just have a look at logical operators too.
OK so we're here I can just put logical operators and the two down.
So I'm going to say logical ops operators and that's going to be huge so I'll but two more hushes.
Yeah.
And oops.
Where's it's gone.
Oh yeah that was.
So this is logical operators saying oh here we can have an is equal to any dot of course but this this
logical operators can only work on Boolean that is a member.
So you need to define boolean that is let's define injuries in such a way that you know let's put the
case where 1 1 0 0 so that's basically true.
True and False False correct.
So let me find it 1 0 you and every to find another way.
Ari which is 1 0 1 0 0 1 or something like that.
Yeah.
So let me say the dot dot at a and not an equal loss.
OK.
And let me say Come.
Right.
So this is going to be true or false.
True false.
Come on.
And this is going to be again True False.
Right.
And now if I say if I print if I print b and b dot logical I need to say like this logical and logical
logical or logical X or we'll try all of them right logical and a come or be right.
If I print that see.
True true is true true false false false false is false true is false false also true or false.
That's the case I can't print and VIDOT logical logical not and I can just parse just one of them so
it will return to me completely.
You know by complimenting each of the values out there and I can also have an odd logical logical OR.
And I pass a comma B.
It's going to be true true.
It's going to be false in only one case when both is false or it is false and both are false.
You remember and be taught logic.
Oh my logical S.R. and I say are a comma B.
This is going to be OK so X or is true and any one of them is true.
That's it not.
And both are true and both are false.
If you remember.
So that's that's about Izhar.
So I hope you understood about the logical operators that can be there so you can also apply operators
of four areas of different shapes which we will we will cover.
Right.
So and then we go on to a few examples of how we can how we can do them all right.
OK.
So for now these are the operators that we can do and then we'll go on to another session for an umpire.