1
00:00:01,300 --> 00:00:09,790
Hello and welcome to this lecture of our course we are today going to talk about if a statement if your

2
00:00:09,790 --> 00:00:17,210
statement is commonly used in programs call it the environment and the structure of IF statement as

3
00:00:17,220 --> 00:00:17,610
follows.

4
00:00:18,190 --> 00:00:26,030
If condition equal value do something and if condition equal value do something else do something.

5
00:00:26,290 --> 00:00:29,590
If name equal Alex Grant.

6
00:00:29,680 --> 00:00:30,860
Hi Alex.

7
00:00:31,000 --> 00:00:32,410
Elif name.

8
00:00:32,460 --> 00:00:34,140
Equal Sara Brent.

9
00:00:34,210 --> 00:00:35,330
Hi Sara.

10
00:00:35,520 --> 00:00:38,560
And if name equals Kate Brent.

11
00:00:38,710 --> 00:00:40,230
Hi Kate Ellis.

12
00:00:40,270 --> 00:00:40,750
Brent.

13
00:00:40,780 --> 00:00:41,800
Hi everybody.

14
00:00:41,820 --> 00:00:49,350
A conditional sentence distance equal ambled up in parentheses hoping double quotes.

15
00:00:49,350 --> 00:00:51,560
What is the distance of this rule.

16
00:00:51,590 --> 00:00:53,800
Close equal quotes close parentheses.

17
00:00:53,880 --> 00:00:56,730
What is the distance of this road.

18
00:00:56,750 --> 00:01:04,530
Twenty five him as G equal or message equal.

19
00:01:04,580 --> 00:01:05,530
Double double course.

20
00:01:05,550 --> 00:01:09,770
This is Route eleven distance equal 20.

21
00:01:09,810 --> 00:01:13,120
Else this is another route.

22
00:01:13,230 --> 00:01:15,060
Brent and as G.

23
00:01:15,090 --> 00:01:19,040
We observe that user in both distance equal twenty five.

24
00:01:19,070 --> 00:01:20,290
So it will Brent.

25
00:01:20,370 --> 00:01:22,230
This is another route.

26
00:01:22,230 --> 00:01:23,580
Thank you for watching.

27
00:01:23,580 --> 00:01:25,700
See you next lecture.
