WEBVTT

00:00.360 --> 00:05.790
Using or with if else statements using or with conditions

00:09.270 --> 00:14.110
we can use or in multiple conditions with their false statements.

00:14.370 --> 00:22.980
It will be true if at least one of the conditions is true that it will return false if all the conditions

00:22.980 --> 00:24.650
are false.

00:25.590 --> 00:27.910
Let's see how.

00:28.640 --> 00:29.130
OK.

00:29.170 --> 00:30.450
Go to brackets now.

00:30.660 --> 00:34.770
And now I will show you how to use all with conditions

00:40.020 --> 00:46.680
create any variable such as an equal 10 another variable five equals five.

00:47.070 --> 00:52.130
Let's use if statement to show how to use or with them.

00:52.140 --> 01:01.310
For example we can say if ten equal equal five or ten greater than or equal 5 Kallen.

01:01.640 --> 01:06.170
So if the condition is true we will make 10 variable is equal zero

01:16.730 --> 01:30.800
then print a string of true else call and print a string of false After that try that term.

01:32.430 --> 01:39.330
Nice sprint through do you know why guys because one condition of this expression is true.

01:39.740 --> 01:48.330
So if we try to change 10 equal equal five it will in force because all the conditions are false.

01:48.740 --> 01:49.370
OK.

01:49.460 --> 01:51.010
Thanks for watching.
