If else statements
if else statements it's really important to know if else statements and if statement is an expression
that you test conditions on return either true or false.
When if a statement returned true it will execute the statement that you want it to execute.
But if it's returning false it will now going to execute the statement.
Let's see how first we go to brackets.
And now let's create a variable called far as an example.
And they all it with 10.
OK I will use every statement.
You know if bar is equal 10 or not as you can see here a row is var equal equal 10 call.
So this equal equal operator returns true if the values on the left are right side of the operator match
and returns false.
If they don't match them print a string such as var equals then
this print line is a line because it came after F.
Now I will use else when you write tails.
Please do not put in then because else is nine inside the F so right.
Else Kallen else here will execute.
When the F expression is not true.
After that think another string such as follows.
You.
Try that long term
as you can see here.
If expression is true and printed out bar is equal 10.
But if we change far good and the number as example S-expression will execute.
Try that on terminal and see
nice because if a statement is false so that El-Soo statement works and says var is not equal then that's
it for now.
Thank you very much.