Equal greater or less than operators equal greater or less than operators why using state means we can
use many different mathematical comparisons.
For example we believe that greater than or equal less than less than or equal.
These operations are very important to know them because you will use them a lot for all kinds of programming
languages no while using real than or equal or less than or equal.
Sure the equal sign comes after the greater than and less than signs such as a 15 greater than or equal
five.
Yes let's see how.
So now open brackets and we will use greater or less than with if else statements for comparisons.
For example I will create a variable Paul griller and I will assign it with 10.
Next I will create a variable call list and I will assign it with 5.
OK.
Now let's compare these two variables.
So type if greater is greater than list then the statement will be printed yes.
Else call in print.
No.
After that save the file and try it on terminal
cool as you can see here.
Reeler variable which contains number 10 is greater than list variable which contains number 5.
So if we change the operator to greater than or equal sign which mean if greater variable is greater
than or equal to this variable then Prentis else print.
Now try on terminal.
It says yes.
Now we want to try less than sign and see that until now also
it says no because a greater variable is not listed than the last variable.
If we try less than or equal sign will also no because the greater variable is now less than four equals
to less variable.
If we use the equal equal sign which means Grieger variable is equal to list variable print Yes else.
Now
as you can see here it prints known because the two variables are not equal.
Anyways for now please do not regard the equal sign.
This should be after the greter or less than signs.
Not before because it will print error in the terminal if you do that right.
Thank you so much.