Shaking values in lists with if else statements
it's important to know how to check for Milliman if is it in the list or not.
Because if you build a game or a Web site you need to check for the username if it exists in your server.
Nope we will use the keyword in within the if else statements to check for the name.
If it's in the list or not let's see how first brackets
so that you got a list called my A list inside this list.
You had elements of John Nancy MIA.
So now to check if John user name is in the list we can use Ifill's statements.
Such as if John with quotation marks.
Email us call and then prenticed if it's on the list ill's call in then brain.
No it's not in the list after that.
Try that on terminal.
Very good.
Works well it shows that John is in the list.
We also can add a new element in the condition check if it's in the list such as.
And Nancy within quotation marks in my list
who it says Nancy is in the list also.
OK.
That's everything for now.
Thank you very much.