WEBVTT

00:00.360 --> 00:02.970
Using and with if Also statement

00:05.820 --> 00:07.710
using and with conditions

00:11.070 --> 00:17.200
we can use and with statements to check the conditions the conditions will be cruel.

00:17.400 --> 00:25.920
If all the conditions are true but if one of the conditions is false it will be false.

00:25.950 --> 00:30.270
Let's see how first grade brackets

00:35.570 --> 00:43.520
go right now I'll show you how you can use and with conditions to create any variable such as 10 equals

00:43.520 --> 00:45.270
10 and other variables.

00:45.440 --> 00:47.270
Five equals five.

00:47.270 --> 00:48.290
Wonderful.

00:48.290 --> 00:58.670
Now let's use a statement to show you how to use and for example we can say if 10 greater or equal five

00:59.150 --> 01:03.010
and five equal equal ten calling.

01:03.310 --> 01:11.480
So remember when using and all of the conditions should be to work but if one of them is false it will

01:11.540 --> 01:15.520
return false and it will print the statement or fails.

01:15.860 --> 01:20.080
OK now we're in a string of true else.

01:20.130 --> 01:24.450
Call and print the string of false then try that term

01:32.870 --> 01:35.830
Paul.

01:36.200 --> 01:39.270
As you can see here prince falls.

01:39.350 --> 01:40.710
Do you know why.

01:40.850 --> 01:47.370
Because one of the condition is false which is five is equal equal 10 which is wrong.

01:47.390 --> 02:00.300
So if we try to change it to make it true such as Fyffe is lower than or equal then it will print through.

02:02.970 --> 02:05.060
I hope you get that.

02:05.430 --> 02:06.200
Thank you very much.
