Hello and welcome to this lecture of our course we are today going to talk about if a statement if your
statement is commonly used in programs call it the environment and the structure of IF statement as
follows.
If condition equal value do something and if condition equal value do something else do something.
If name equal Alex Grant.
Hi Alex.
Elif name.
Equal Sara Brent.
Hi Sara.
And if name equals Kate Brent.
Hi Kate Ellis.
Brent.
Hi everybody.
A conditional sentence distance equal ambled up in parentheses hoping double quotes.
What is the distance of this rule.
Close equal quotes close parentheses.
What is the distance of this road.
Twenty five him as G equal or message equal.
Double double course.
This is Route eleven distance equal 20.
Else this is another route.
Brent and as G.
We observe that user in both distance equal twenty five.
So it will Brent.
This is another route.
Thank you for watching.
See you next lecture.