Using and with if Also statement
using and with conditions
we can use and with statements to check the conditions the conditions will be cruel.
If all the conditions are true but if one of the conditions is false it will be false.
Let's see how first grade brackets
go right now I'll show you how you can use and with conditions to create any variable such as 10 equals
10 and other variables.
Five equals five.
Wonderful.
Now let's use a statement to show you how to use and for example we can say if 10 greater or equal five
and five equal equal ten calling.
So remember when using and all of the conditions should be to work but if one of them is false it will
return false and it will print the statement or fails.
OK now we're in a string of true else.
Call and print the string of false then try that term
Paul.
As you can see here prince falls.
Do you know why.
Because one of the condition is false which is five is equal equal 10 which is wrong.
So if we try to change it to make it true such as Fyffe is lower than or equal then it will print through.
I hope you get that.
Thank you very much.