So we'll continue from where we left for Python yesterday.
Well, we're going to go to the Ukraine or you can also go to discredit what I've seen.
Look for the don't on which you can working on that.
Come down to the place where we live.
So we want to respect that, be written off as you've done in groups.
And we continue with the function.
So I been speculating the program and whatever is the coordinator, and then we'll try to see how it
will execute.
So what does this mean?
It's sort of like into to function.
Where does the name of the function as being impunity?
What is this ex meaning or improper input parameter on a human?
This colon is required of any significance of this piece.
No, this is going to be afraid like this or like this, and it may give you an added, I think it should
be built badly space if you are using water, very, very using these business, all the length of these
spaces.
If you had using four spaces, every landfill for space.
So.
It is giving us an idea that when we did.
Because that's sort of made up.
And that's not my ambition.
So it should be a same spaces Olympian.
You're painting something, you're saying print x is X.
What are what is the value of the next physical beauty and change global x two X being something akin?
It the execution of the program will start from here, a function will not be in, that payment is being
invoked, a function would be entered into this envelope.
So we a passing excuse u0027 calling this particular function, and you're something.
So if I do, this will be my first line of execution.
So we're going to hit number one is the first plane of exhibition is equal to seven.
What the second line will do, what begs the question is if you think it is going to call the function
and willing to bust the value of X is equal to seven.
It's been the best value of X is equal to seven.
When you pass this, this particular function will be invoked and the value of X will be seven.
It is going to be in this line start as a function.
Then it is going to bring this line exists seven and eight inches, seven because we passed seven.
Now we change X is equal to three.
Trained local teens, local X to X, so what will be the x ray, you know?
What mistakes were you?
Putting three feet in and it will bring in another function, it will come back over here, start executing
next lane print print existentes.
So what will be the value of what it?
So, Kevin, why not create deposits to this country?
It's local to the functions of the scope of the medium, and it's local to the function.
So we basically is inclusive and that was splendid.
Now this is again same variable invariably makes his utility.
Thank you, Brent, accessibility.
It has been pretty interesting.
But the moment you come out of a function of this, well, you have access lost.
OK, a local to the function index while you're still there.
Seven.
So anyone having any doubt why this is not trending three way is spending seven needles.
OK, if no doubt.
Then let's go ahead.
Function faster as an argument, it is also commonly referred as an.
Functional programming at eight.
So what happens usually is if you saw in the previous program as well or in this short.
This was an ex.
And what we passed as a ex was just a variable.
It was updating each year seven and eight integer seven was bused into this function.
So that that's normal, you can buy the value of a variable to a function.
But in this case, in this particular example, if you see your defined death, apply.
And then if you are taking two things already here who are humans over here to potentially desolate
it, one is NF an eight.
What is the value of what is it element you are invoking this function of plywood here?
Apply it here or else you are passing the list to one that is are passing the list or.
You are passing a to it.
But for this, if what are you passing, what is this ABS or A&E?
Is this a retirement fund to function?
Is it?
First of all, is it a variable?
If yes, if no way.
You see a summary of it.
What is NZ, is it a variable, yes or no, no, no, ABC is not a variable rate is not a variable.
It's a function like it's used to get rid of the dubious value for absolute value, that's OK.
But if you don't know what it's used to calculate absolute value in that case, how will you?
I mean, if it was a variable, it would have been assigned some value or in a variable.
It shouldn't have to instantiate it.
That should be a variable somewhere that I would be able to fire or whatever.
Maybe it is equal to maybe if it was over 80 of it.
So it is not a video, it's not defined.
It's a function.
You know, that's good, but it is not a video, but it is not a variable because if it was a variable,
something would have to be nice and look something like this.
This is the old one two three four five six.
It is not as and means it's not a medium.
OK.
Similarly.
And these alternative media, but it's a function ABC calculates the absolute value, and he can convert
it into it in Egypt.
If you're deployed here, it also goes.
What is this, abs abs, I think it's the absolute value of that.
So in this particular example, what we are doing is when we are calling this a play function, when
we are calling this a play function, we are passing a function as a pandemic.
We are placing a function as a barometer.
OK.
So you can see it have function faster than our human thought.
They backing up function.
There's an argument that humans benefit and we get immune system.
So you're passing these two things, you're passing these two things.
The function at play that is less than absolute.
So you will get a list of what hit you will get an absolute.
OK, what does this indicate?
A result is equal to open square brackets.
Square your.
What does this lady mean?
What is the meaning of this long, empty list, empty lives at Instantiating?
And B, it is.
It is the name of the list, this is it.
OK, but.
For I in range, the length of an eye in range length off, and so what is the length of it?
What is the length of it?
OK, first of all, what is the thing inside the cell list?
List one thing because this list one is buzzed over here as a.
And the length of it is nothing like how many elements are present inside it.
So what is the length of it for?
OK, Len, oh yes, is sport so far, look will go from there to
go from one to four, get for love is going to go for one and take four.
I think when an.
So.
Then when this war is creating.
What it is going to do is they got up and.
It is any about.
OK.
Meaning it is going to go up in some detail to this particular empty list.
OK, I think there's a function to open some data into NMD, so it's going to append something.
What it is going to happen.
F off LR fight.
So how to read this?
What was the I?
The next coalition.
OK, so it's in index position, right in saying next position.
It's ending exclusion.
And what is this little list, this one list?
So it goes from zero when it goes from zero.
This will be what this will be the first element that will be written.
This will be the first element that will be written.
El-Rufai, meaning what will be the 08 element that will be written?
And.
It will apply a function to it, what is the function that you are passing?
So the first element is one absolute of one is one.
The result will be one.
Then it will go for the second element absolute of minus two is two.
Then absolute of minus five will be fine.
An absolute of 6.2 will be start at eight.
And finally draw 10 citizens, that is one two five six.
The second function of what he had was many are calling the same applied function again, instead of
passing an absolute buzzing and engulfing the what this will do is again, when you're passing, this
list won't know what hit when you're passing this Lisbon or what hit it is going to be dragged through
each and every element of a list, and it is going to convert it into an integer.
It is going to convert it into an intermediate.
So for one, it will become one minus two will become minus two minus five will be the minus way and
6.2.
It was a floating.
It will be converted into Egypt.
That is six at eight.
So this is how it goes, and we don't send this over.
Yes, it is just this one concern that of influence in running like I do an example of without a problem.
So there is no execution difference between the normal function and the phone like this kind of function,
basically a function by name or is there the same difference in battle also like the execution?
How we dealing with this particular function?
OK.
So when you see most of the programming language radio supports function parsing function as value and
a reference function called value and goal weight.
This.
So there are two things functions all by value and one benefits.
So if you are calling by function function called by a value, there will be no difference the one that
we are doing so.
But if you are using as a ball by their friends, then there will be a difference.
I mean, it's not required from a data sense, but but if you still want to do it, you can read this
difference.
Or maybe and then they can decide the.
Parental support, the same goes up in my sky levels that.
There's more with political commentators.
British, I have a question.
I didn't understand.
We created this function.
We are passing this list.
But how is it converting because it is doing absolutely so already attending the synod function is being
applied on this list.
OK.
So let's separate none of the things, I think.
So this is my program execution, want to start from here?
It won't start from here because it a.
This will be my first line of the program when it starts, so a function will only be in security when
it is caught.
So the first line is very simple, you know, the analyst, OK, you've created.
It.
Earliest something to say about.
The second line of the cold will go would hit the second line, will be going away.
It is my first lamp is my second plane.
When it goes or would hit, what it will do is it is going to call this a play function.
It is going to call this a play function.
OK, so the third line will go.
It is calling this a of function when it is calling this a blow function, what are the two?
Say this by saying it is buzzing list when an Airbus?
So is passing a list one, and maybe it's at least one meeting or.
One bomb minus two bomb, a minus by almost six.
So L will get the values when gunmen minus two minus five on my seats got because that's what I us.
That will get the values Airbus, the affiliate of a US Airbus.
Not that I'm not doing like this because it was like there's been just a value of it.
So what it is doing isn't just passing an Airbus or that they are not passed away yet as a.
Inverted commas, because double inverted commas would have meant that it's up, but it's a value,
it's some big thing that I'm putting it the ABS espoused over.
Abscess over it.
And of course, this is a blank list, there's a blank list list at a this is named bill, is that outdated?
So I sort of thinking this is the that have a little something to see a little bit.
Then I am writing and or Lupo over hit so far, Lou, how you are.
If there is any multiple functions that are going to get us out, we start looking from the inside Globe
say, in fact, that is a rule that is also a group of basic mathematics that you do what people do
from inside the a insane bracket first.
Then I'll take that.
So just look from inside build, say what is it?
It is nothing but a list that is one minus two minus five six one two.
If I say length of powerful meaning, the length of list is four, length of list is four.
And for I in range length of a means it will go until four, eight zero and below zero until.
Well, that is a for loop, legal for retail and almost do anything for locally executed for only this
particular index and zero one boutique.
OK, then this is my.
For look, that is going to execute.
So zero one, two three is going great.
OK, then let's look at hit again, always try to look from inside and say, So what is the value of
life if it is coming for a for loop?
For the very first thing, the value of I will be Zettl.
OK, so value of I is zero.
OK.
Value of I is zero.
So if I say l love zero zero zero index, meaning what is their ETA 08 and what 08 index is nothing
but one.
So let me say that a lot of zero was nothing but one, and obviously it was nothing but one and a zero
was nothing.
But what then f off one that it is saying f of one OK, f off one meaning what AB is f is nothing but
abs.
We don't know what hit AB is so and b s off what abs offline to abs of one is nothing but absolute value.
Absolute value, meaning it's supposed to value absolute value means a positive value, so absolute
value means positive value.
So what will be the positive value of one?
Was it a value of when will be when it's in?
The positive value of one will be when it says.
Closer to where you.
Absolutely will be let it be.
Then it says that it is very thought up and so the result will get the values, but then it will go
again.
The far look will execute again.
The second time, the list will be having minus two.
So, he added, it will come as minus.
Absolute of minus two will be f minus two will meet up, so.
Then it will go again for the next index next index's minus five.
F off minus five, that is absolute of minus five will be fine.
That will be a.
Again, it will go 6.2, 6.2 absolute of 6.2, 6.2 itself, and the result will be this, then you finally
returned the result that is your redundancy and it comes over here.
Whatever it is, it's been barely a similarly similar limited range for the second day when it runs
for the second day.
OK, imminent runs for the second, but again, it is going to go ahead for the second.
And this time, the only difference will be the value of F instead of ABS instead of ABS.
The value of it will be.
So it is again going to be on each and every element, apply a function for being budget.
And the result for this thing will be one comic book almost by comma instead of.
It will be a minus two and minus one.
We're going to just converting in Glenn and Peter.
So what my initial minus 6.2 will be when minus two minus fat, only that 6.2 floating will be coming.
That is basically enough.
Yes, it is actually all that functionary had to do.
And that's why you are asking why, how we are playing some conservative notes getting.
OK, anyone else, any doubts?
So let's go ahead.
Which one question?
It looks deserted, and for I in range should be indented inside functionally.
Yes, yes.
So.
If they turn on their friend again.
So this was.
This was a rate.
So the incentive is to it.
And whatever is inside the floor isn't going to get bigger.
Who?
Yes.
Jan?
Let's go to.
So function buzzed as an argument again.
Let's look into this fight again and try to understand this one.
So this one, you can also explain me.
So will this part be executed now when you start from the top, will it be executed or not be executed
and build up function as law?
Will it be executed now or if it will be normal or function called OK, only when the function is called,
it will be, it is a good bet.
OK, what do you mean by this?
Define, define what is the name of a function?
A plan just for fun.
OK, get out how many arguments to word about L.A. state at this moment of time, I don't know whether
I listen digit order function or what.
I don't know anything.
It just that.
And then it's in case of other programming language, you know, because the data they may have been
specified, I think, is up by then.
You know what is going?
So you know that there is a function, that's it.
And then what this mean result is a global.
What is this emptiness, this emptiness?
For SNL, that means it is doing some real or every final.
It is very to and if it's this will be better understood when we deal with some values and pretend it
is it.
OK, so this is a part that will not be given all of the first line of a code that will be to there
will be that this were the first line of the code will be a secret that will be displayed in the first.
Then second thing, when it goes over here, you have a function that apply if you see there's any function,
you're passing this function list.
So this parsing of function lists, could this be passing this particular list utilizing this list?
So what will be the value in, say, the L l will have the values?
What is the value in today, Abe's?
Walmart and eBay may be I this abs and and in a list.
OK, what is this minus 2.3?
What does it do today?
It's not what will go in, say the next.
And it's completely minus 2.3.
There's a floating point value, there's just a list.
OK, then it starts executing from here, it comes to it.
This is the third one it started with giving a wicked.
So the first thing that happens over here is a blank list, and it's.
Empty list, that is it.
It's an empty list, but is it?
Empty list is a.
Is able to list, is it.
It is very sensitive with it.
But if, in fact, if in hell, so what is the value in say, what is the value in certain?
As for Mike Absentminded.
So what it means for the first thing, what will be the value of it?
Airbus, for the first time, it will be ABS in air and second name, it will be a great flight because
it said it didn't for the first time.
It would be me.
It's going to be.
So what it's doing, it is, they got a pen.
ABS of X, what is the value in areas where it seems that is entered upon, if all fix?
So what is it X or what had words of value of X or what it minus 20 X is minus 2.3?
You can see it's classed as input parameter.
What is the forward here?
What is it, if would hit?
I mean, if we do this, we.
Airbus, yeah, I mean, we cannot finish by it, and if you want the course to go for one year, I
don't have a problem.
But you have to be replaced.
IBSF minus 2.3, so cubes of minus 2.3, it will happen, what is it?
So what is what will be the output of minus two one three two point twenty?
OK, it is.
It will get 2.3.
So it is investigating thoroughly.
Again, the four will be executed.
Now what is the value of an F?
So instead of AB is what it will apply.
I am declaring an east order with output minus two minus two minus two at eight.
So this output?
Similarly, if it is called for the second time, so it will be printed as 2.3 and minus two if it is
called for the second time, what will be the output one minus 4.6?
Minus 4.6, a Airbus absolute minus 1.6, 4.6, 4.6, 4.6 today and second name, it comes of minus
4.6 minus four minus one.
So Edison.
So let me say this explanation, but.
Looking.
And let's execute and see whatever is in this game, one European minister said any place feel free
to stop me and let us look into the.
A lambda function or anonymous function, again, a part of again, a part of the.
Functional programming.
OK, so first thing that isn't then in a functional programming is bypassing the function as an argument.
That's a plus thing that it allows.
Second thing that a functional programming allows is policy lambda functions, or it is also represented
anonymous functions, nothing since the anonymous function.
So let's try to understand.
What does London and on a miss function does?
So.
This is the traditional way.
If you feel it hit.
This is their traditional way of defining a function.
I clearly celebrate that we have studied so far.
What does this mean if I define a function?
What is the function, name, function, whisperings, function, discotheques?
What is input permitted and what it is?
Read any implicit in ablest?
And so what are you possible?
Written Blessington.
OK.
So if in fact, all this spring, it just does ablest it, OK?
If I bring a few NZ underscored X2.
So what we need to return
to and that is that so you can see overhead here, you can see anything over here, but now to shorten
your program now to shorten your program.
OK, if you want to make your program short, you're short and sweet.
You can also define a number of function.
It is typically helpful when there is only one or two line of a board.
That function needs to do so.
That's called Islamorada function that's called the Lambda Anonymous function.
The way you define a function is a little bit different.
The way you define a function is a little bit different line because function is defined as a media,
but.
Function is defined.
Not.
Function is defined.
As of 81.
The function is defined as a variable you can see over here.
The variable is equal to something that variable is equal to something function as defined as a variable
it.
Now, way, no function is defined as a variable.
This is a key word for it.
OK, well, now if you see you can think of it as you are just divining a medium.
And now you have just defining a variable by name.
If you can see why, just think of it, you are defining a variable.
But the moment you see Lomita, the moment you see Lambda.
Look at the moment you are seeing Lambda.
It means that you are defining alarm level until the moment you see Lambda.
You are defining alarm function and how do read this function is whatever is written beside the lambda
that is e this is your input at a human decision.
Input parameter or not?
You may.
This is an input parameter on an argument.
And whatever is defined after the colon.
That is what needs to be written, okay.
What dysfunction should do less than at at any blessed in so return, it is nothing meaningless written.
A-plus.
OK.
So this is, I mean, a defining function by the traditional way is very simple, but we are defining
it so many times.
If you run any programming, you are very familiar with it.
But this is a new paradigm of programming that started around 2011 or 2010.
I started in 2004 and then it started in somewhere around 2000 2004.
This function programming, it took boom in 2010 and 2011 started around 2004.
Or something in 2000.
So another way of defining a function.
Most of the programming and would seem to define it as to define it as a variable.
Then this lambda indicates.
It's land definition, it's a lot is written on the left hand side off a colon is an important human.
What is written on the right side of a colon is what it needs to be ended and ablest it.
Now, if I call the function out of the same name, if you N.S.A. go away.
Of to so it is going to take that to as an input argument as to blast and it is going to return well.
So is it clear how good a lambda function?
Any doubts in this?
OK.
If no no doubt, let's do it.
And if you have a doubt, it still came because we are going to repeat it.
And if it is still something new to you, we're going to get.
OK.
Let's go.
So let's look into another lambda function.
Let's look into that lambda function.
Okay.
Now you are going to explain me in this thing.
I'm not going to tell you anything if you are going to explain to me.
If you explain me fast, I can get you on this where if you don't explain me fast, I can just say that
I'll get a similar to it.
You can definitely better, but I don't want to do that.
So you usually explain me fast.
So what does this mean for what we are doing over here?
Defining function if any of function at home, any arguments?
Three arguments the arguments.
What is this function doing?
It is adding plus needlessly just adding a pleasurable, entertaining.
OK, if I say if you NZ and that's going to exclude three four, if I do this, what will be the result
of this function?
Two plus three, the name will be neat at eight.
So there's very clear that there is going to be OK if, OK, if I look in here, only if I look in here
only how what does it look like declaring variable, declaring a variable?
But is this a declaring a variable on syllable recognition lambda function where it is allowed to function
because lambda keyword?
Is it because lambda key?
What is then what is this?
ABC on the left side of regular input parameter input arguments that input parameter what is dead on
the right side of the call?
It's returning it as we proceed.
So if I call this function efficiency way to replace forward, what will be then answer man named?
OK, any doubts in this anyone?
So so basically, we can assign some variable also able to get some value, meaning we can say.
Equals to function by funk underscore wiring.
We're not really supposed to be.
I mean, if I want to use that value later.
You want to use the value later, meaning I did not get you.
I mean, if you want to use this value later in the program, but we can define this as to be equal
to function.
Why two or three photos, right?
Functions they're raising, although not not a function, just a variable.
You know, taking the return value and doing one of the list or something, you can always OK.
Yes, yes, yes, yes.
Been do that, you can do that.
But usually the lambda function, you won't use that because it will get more complicated because you
will have to use multiple statements in the same lamely.
So you have to separate it with semicolon and they just ingest more.
If it is a more, if more than a single line of a code, don't use a lambda function, OK?
You can use it, but don't use the lambda function only for the only for if you want to define a function
that's only a one or two line.
Of course,
you can do everything you can to the most complicated function that you've written as a land of opportunity,
but that will be very unreadable.
OK.
Another thing?
Function, Kerry.
Creating a new function from an existing function by a blank by fill out a new mix of engineering is
another property of functional programming.
It is in the property of a functional programming.
Wherein you can create a new function from an existing function by playing a bar fill out of your mind.
So what does it mean?
Let's take a look over here.
So we're discussing our functionality.
I mean, all this terminologies, looks are difficult, lambda functions, functional cutting, what
does it mean and all but is in buildings?
So let's see what is this function doing?
What is this function doing?
Adding to the mix, just adding to number three, adding to no, it's an odd one function that dates
to numbers as an input parameter just adds an actual numbers and it's OK if you look over here.
Dysfunction, if I'd e.
So I'm defining a function.
What hit add eggs defining of function as?
Addicts and what is this addicts doing, it is nothing doing their thing, but a written add up.
It is passing in a human as it makes.
Whatever was exposed it and it is doing it.
So what does it do?
Add up that bit.
It all, my ex.
OK, and what is it if you call this function, bring it added.
And so what is this going to do?
Added And it is going to all this function.
Again, it is going to pack all this function, this and it is going to call this function.
So it is going to buzz this by U.S. Senate here.
Then it is going to call it dysfunctional it here with egg on my head.
OK, it's going to call it command.
So it is going to read and listen and it will come back over here.
Then it will come back over here and this is going to finally be in 1848.
You can see that aging is happening better.
So it's a normal.
You can do the same thing.
Whatever we will be discussing later on information getting below, you can do it this way.
There's a function you can normally.
I mean, you defined the function you defined and at that function and you call then either function
that causes the original function and edge to them, but implicit in it.
OK.
Let's discuss about this for the partial function of what here.
What is this doing?
+7.
Is it a function or a variable?
+7.
Very much.
It's a functionally it's a lambda function that is no OK.
This is the input, what is input parameter for this except X and what is going to give me an output
out of sound command x x add up seven gamma x 20 Colvard, seven inmates.
So if I say seven, I am calling this function at seven.
And so we just decided to get this input parameter will go stand over here.
Yeah, if it will call this add up with seven and yes, OK, it is going to call Arabists seven and
it is going to it's obviously going to add seven plus 10 and it's going to reduce this 17.
So in Boston, 17, it's OK.
So this is a traditional traditionally.
There's that additional fee that we discuss, what we discussed would hit, we discuss lambda functions,
we discuss lambda function.
We have still not discussed function below.
It's just that we have discussed lambda function.
Now, let's look into the function getting.
So function cutting is implemented using a partial function rate from function, which you have to import
partial.
What is a function?
I mean, you have it's a partially implemented function, a body you have passing a partial output.
So you have to import a partial if you want regular function, getting something to import basket.
OK.
Then.
Well, what he said, what I'm saying that +6 is equal to partielle of add up comma six.
+6 is nothing but bodyshell add up almost six.
OK, so what I'm defining over here is our 02:06 am I signing a dead body?
The partial means I'm saying that this is a partially implemented often said, Okay, the moment you
see this functional keyword, partial +6 is.
Is partially implemented.
It's partially implemented.
Why do I say it's partially implemented because I see this key as particularly when I see this kind
of sponsorship?
And it's a partial implementation of Adam.
It's a partial implementation of Adam with six.
Meaning what?
One of the parameters that he's going to add up will be six, the one of the bad and we did that will
going into the IRA will be six.
And now when I call this function at six 10 and I call this at six 16.
+6 isn't I think about this.
OK.
And this is an OK, so you're not presuming how this 10 is written, what it is reaching internally
because of partial function.
So what does add up +6 does?
It does nothing, but it was this old error function.
Only one of the arguments six or what here when I've got a human question over here.
And it is going to add this 6:00 a.m. and welcome Isaiah, 16, at 8:00.
So this is nothing but you have anybody.
You are using this partial thing.
It's called as a function daddy.
Getting in trouble, is it getting more people also call it as if they were OK, so function getting
or getting?
It's basically a partially implemented function that I so if you look over here, this artist, if you
look at here, this artist is nothing but partially implemented.
Partial implementation of item I receive is nothing but a partial implementation of item.
It is useless until you are gone with somebody you met.
The artist thinks that's nothing but a partial implementation up and.
Operation is there, and the country, though, did it of risks, and I won't be to see what did you
think of this?
You can always do that.
You can on this specific date.
And do that in a movie with instruments, let's.
This one, I'm just wondering, like after it.
So it says that it's a functional in here for a number.
And for this, it is a departure from under question.
So you to have a class function.
It's the class.
So you say if they have been selling into a statesman like the give us kind of a similar that they will
turn up partially lands on your side.
So if I did, they think it's seven and six bullet have partially applied for all of that other Arab
countries and Arab countries, they.
I mean, this this particular I mean, you know that having both are doing the same thing.
Yes, but both are doing it differently.
Yeah.
I mean, in fact, all three had a partially defined to be right, but a partial implementation date.
Is that how you do the second thing?
This is a way using a lambda function.
Mm hmm.
It is that I get to be, you know, we mean for six, 50, 60, 70 years, you have been doing this
for at least 20 years.
There's also, I think so it wasn't doing it or it won't be as on any of these things are more than
going to be spent and the initial things that aren't going to be so.
But it's a different way of doing.
Yes.
So the first step where we are defining seven my state, this level, this is giving us a partnership
function with the one argument only applied rank, not ranked the seven.
So the definition, if they give us a definition title, which will be seven plus x at eight if think,
then we are applying this seven plus x, then we are again calling this kind of designation under eight
seven again.
And so it will be up to seven percent.
Yes.
No.
It will only be executed over here.
I think this is just it's just a function definition won't be.
And this partial variable is similar to the partially applied like the wording.
Yes, it is.
But also you have this function getting is no.
Okay and see, there we are using underscore here.
I think we're using this past week.
Yes.
Go ahead.
We're using partial.
Who can understand your ratio if you ask me about this partial function when, say, at six is a functioning
which is not there in the partial.
I mean, it's not the.
I mean, it could be an name, right, it would be someone else with the decision to make anything with
it.
Okay.
So when you say partial, we are saying, is it?
OK.
Let's get as excited as to.
And I said, that's it.
So basically, what is our objective function as doing is I'm just defining a partial function of what
yet?
So whenever I refer to this as it, whenever I want to call this and I want repeating this article with
some parameter, you OK with some benefit.
So whenever I call this exigency with this baton, we did it call to add up function.
We're going to add up function.
And it has been occupies one of human assets and one argument that is against the incumbent who is going
to default and blessings return it.
And Implicit COVID-19, a six.
It can be any name because they're going that because the United.
Hope, people, hope people.
Context.
Can unical, since anyone?
So, honestly speaking, this this is never used in the sense that you wouldn't be using passive functions,
lambda functions also send them you would be using you probably using an automated be finding a function
on you because you may also need to lambda function for doing a smaller thing.
You think it's better for humans.
But a function getting you will never use, but mostly won't be.
I mean, that is something that are available.
But you know what?
Use.
Then.
As Insane Man got as an optional assignment, I would say.
Optional assignment.
If if you come from programming, but don't.
I mean, you are not currently in support.
Other things and business say this, just a beat up old.
Just read about.
Function, Galvan, expensive function, quite a bit of.
Readable.
Function, all right.
And on your planet again, this tell you won't be eating, I don't know when we ask you this question
for what would be this answer.
But if you my session at up, then you will be able to it, if not also just.
It's an option.
OK, let's go.
If created generator new again, such things like Secret Generator in you.
I don't think so much.
I mean, it's a good question, Neal is a very important question for a software engineering jobs.
What is the difference between Britain and new?
It's a very important question.
But from a new design point of view, it wouldn't be in a new position, but it's still good to know
what is and what has generated and what is used.
So let's let's try to see each and everything.
So in fact, you're going to explain to me, what is this doing, what is this link?
What are we doing or here?
One Lindstrom Group analyst Okay.
What are we doing over here?
Or Laura Inglis So what will be the value of?
What are the best positioned second under one gunman or gunmen, 2003 at eight?
And it's obviously going to bring a lot of this brings and Glenn Kelman to commentary.
So you can see that when so there's any creator.
What do you mean?
Many greater means you can iterate through it.
What do you mean by ETRADE?
ETRADE means you can go.
Element was one element of that in that element of that.
And at that rate, created means you are able to obtain through it and a lot of what you do when you
get a trading group.
120 trading low when I went back to England.
That is, it comes as well and it continues to expand when.
And a dedicated example of him over here at the final is static.
What here we are not defining a list or what it is.
We are defining a different.
OK, so looking into this, can you just see me what will be the value of the list?
Just look at it and tell me first again, just look at the list comprehension study industry, but Excel
Range three, so x will be starting from what?
07 from 09 everyday, the period includes zero and will be zero until three May three military be included.
No, no, no.
It will be zero comma one comment.
I think that's OK.
So your Dennis accelerates this this bullet hit, but I can't rage three.
That means X is zero and that means zero one eight and four zero one two.
What we had it ending zero zero is what?
Zero one into one is what one was going to do, is work for the value of let's do it, zero one one
for a less.
That is what I zero went in for another zero zero.
And so when you read through it, dive and you will be zero come up and it just brings me to winning
and you don't see anyone.
Any dose, anyone?
So this is a simple example, but I think that so many times we have used up our own figures that we
never use their demographic as they appear.
Maybe I just spoke by modulating standing, including the but.
Not specifically, Gordon, and this is Michael.
Basically, they won't do it, we were discussing.
Yes.
I mean, if you can say it as a yes, basically you shouldn't be able to go divers can one by one one
element, but one element it should be.
Basically, you should be able to go as far as you can see that.
OK, so this is about it later, OK?
There is an advertising that is called as a generator.
OK.
So it created a generator is nothing but off energy.
A generator is nothing but just in bread of any great way because a creator, you cannot read any number
of things.
If you're going to get any number of things, if I write this code again, if I write this code again,
you're going to read again and again.
If it gets one pane, it creates second name.
If it did state, you can read any number of aiming to be good you in it is always there.
Then it would generate tourism, but that also data that can be created only once.
That is you can only read only one day, you can only read one day, you can only address one thing
generated at a data table that can only encrypt only one thing.
If you read for the second time, it will not give you a reason gender.
Another difference is you specify it as a.
Circle bracket or the normal bracket instead of.
I'm giving this to your agenda that late this year, depending on the gender Adlington.
And again, zero, one, two three, and we are just doing a generator, but I.
Generator one.
And I will execute and it goes, that is it.
But if I'm going to write the same thing again for the second day.
You are going to write the same thing again for the second day.
It is not going to give you any need, is it?
It is not going to give you.
And it is it that I saw in case of a generator.
You can only complete only one thing.
You can only get one.
Is it clear and you don't engender that?
OK.
So why it happens is a generator, do not store all the values in memory, they generate the values
on the if it be more relevant than be studied for.
But for now, just understand that generally that if you you're if you retaliate, it is not going to
give you any present understanding of what is the value retains after the first act is.
And the value retailers have picked up less efficient inside the.
So you cannot change it.
I think the is generating.
It's pointing to the same number.
So.
Well, then you should be delighted to see a generator do not struggle by using the money to generate
the value.
No, it won't be there.
So basically what it will do is it is it is not going to see all the value in it, just it is just don't
get this pointing at this particular.
But it won't happen because the value is never going to store any value inside it.
It is not going to store the value inside it.
There won't be any value inside it.
It's just that.
Then you take the for the first time, it is going to get it, then use on values.
It won't have any value, even for the first.
There is no value in saying it.
Went for the first name, there is no value unstated, but when you do first day, when you do first
name it because you do this for returns, you the value.
But I knew that the second thing it wanted a new animated, so values are not even the first time the
values or the menu that you just bored this or that venue for the first time like that particular execution.
It never holds the value as well.
I mean, it generates the value on the fly.
OK, OK.
You're going to hear this.
It is going to generate revenue for this country now.
So for me, attention, I think it will execute the right for the generating.
Yeah, for every American in this war, you'll be at the same rate.
Yes, yes, yes, but every additional hit and it is going to.
One venue, OK, and then that value will ever be generated again.
That's why you will never be a contract.
So this generated.
I mean, you you never use a generator, right?
But what you use is called as it used, you use a fuel commonly agreed to, especially when you're working
with.
Huge amount of data.
Right.
In fact, for data science, also, if you feel that this particular function is going to oil out of
data and you want to.
You don't want that data to be in your family because if you have Rahman's full.
Then your program will free.
Right.
So if there is a if there is a.
Some kids fled, and there is a lot of data.
I mean, it won't help.
It won't happen most of times unless you're working on really a big company trying to solve some business
problem like you're working in a Google and think of you are having a lot of such data and that time
these concepts and use.
But if you are working for a normal MNC and playing with the same amount of degrees of data that much
and you already have so that this problem won't happen.
And yes, sometimes if you have a very big data, consider using a way out as you look.
Let's say I go and ask him, so if there was you were having to be down whispering, I mean, you can
anytime we've been like for a generator, the data is not stored in our memory.
The values are not stored in our memory data generated on the plane.
This can be explained with you.
So just like a generator was a brand that offered data, you listen to that and you listen to it and
accept that the function will return a generator, except that function will return a generator.
That is, it is just going to run a generator.
Such that every time you call it has been good for the first time when you try to use, that is and
you will get the result in it.
Let's try to understand this thing.
Let's try to understand this.
Let's try to understand this graph.
OK, so it's an interview question with good interview question, what is the difference between a gene
and then?
So let's try to understand this.
So what here am just defining a function of what it.
In a.
OK.
You're just defining a.
This begins crazily something.
You're just defining a functional look at your defined function functionally.
Biodiversity.
OK.
What is there in my list of what will be the value in this my list?
What will be the value in this mylist?
My list is you going to arrange three?
Zero one zero two zero one zero one going to do it, 18 won't be the.
So what it does is for I in my list, for a in my list yield, I enjoy.
So what it is going to give you?
Zero, four, zero comma, one commercial.
It's going to give you a zero when input.
Basically, this business, this is a small function that it does.
OK, then what you are doing over here is you are creating a generator.
You are creating a generator generator.
I mean, you can give any name.
X is equal to this function.
OK, so you have to go like this.
Anything X is equal to the name of the function.
OK, so basically.
Basically, if it was I mean, it just like getting a result of this function, what it it's something
like getting a result of this.
So what it would written and in for a moment, forget that.
For a moment, you can think of it as there was a written statement, the way the what related been
given it will.
The output would have been zero of Gomersal, right?
But since there is no killer called as a return, what here that is, if you were called as a unit over
here since there is no key word called What is it?
You were called as a unit or area.
This won't give you a 014.
Doesn't give you a generator.
This is going to return you a generator to you.
And when you are printing this generator, it is going to create a generator, is the generator.
This is going to depend on, you know, when I do a floor, look for this generator, when I do a for
loop for this generator.
When I ran a for loop for this.
If I had enough or looked worried it is going to view me, this is a zero one and my.
Because I'm trading for the first time when out, because I am trading for the first time, it is giving
me that is it.
Zero one four.
But if if but if I.
It did for the second day, if it did for the second day, it is not giving me a need is that there
is no reason.
If I were trading for the second time, there is no reason.
If I did for the first time, it is giving me a is.
If I did for the second time, it is not giving me any reason, right?
So this is the thing that you need to understand.
And I.
Again.
Let's try to see this same example by just renaming.
Or just playing it with.
It's great to see this same example, but by just using anything so that it's more serious.
Six.
OK.
So let me remove this.
So I do the same thing, I run this thing with everything.
With built in Belgrade and date.
But using the same body and using the I won't be using a therapist.
Okay, so how will be this?
That's just removing this coming.
And this is my original could have not changed a line or whatever I've just removed on the coming.
Is my generator for.
If I want to change it to my editor or edit, if I want to change this, OK, I want to use a.
If I want to use.
If greater were here, I don't want to use the yellow here.
What I will do is.
And we just create an.
Empty list, first of all, the data, empty, adding an empty list quest to alter their data.
And I do it is right.
It is a start up and I do deserve it, but I think.
And.
And I have been.
It isn't.
OK, so if you see, my God, what I watching, if you look into my phone, what things I would change,
what things I would change if you look into the scoreboard, things I would change the way it.
What is the thing that you would hit?
What Tulane's have changed greatly, greater released list, created an empty list and seconding, and
then you are adding up to the list.
The result is that reserve list and returning it is OK.
So again, you see there was a head use, no memory of what he had to store, that is.
But you see him allocating some memory to store the isn't.
So whatever it was or what he had, and I'm not using any memory, it is not showing the details of
it.
But what is it?
I'm using my memory.
I am using my RAM and using my ram, the store that is elderly at a.
So I'm using my RAM to store that is there.
Now let me run this.
I'm using it, but this way not now happened happening this present.
So what is this going to do?
This function will be for whatever it is.
The name of the function doesn't matter.
There's just a name.
It can be anything explains it.
That is, it comes over here that is in desperate zero.
Wonderful if I travel what it can do.
And with that is it.
If I get again one more time, it can again increase through this list and give me that.
But if I see over here, if I see over it, I'm using eight years.
If I do better clearing a dozen union, is it?
But if I was doing and I was giving me a razor blade, if I'm doing a but what it does not giving that
is okay, good thing that there is a general.
But if I do what it did for the first time, it gives me a razor.
If I do it for the second time, it doesn't mean it isn't right.
So what is the difference between a result and.
What is the difference between a result?
And you say, if someone asks you what is the difference between a result and you?
So how will you explain?
What are the different things, people, right?
Ill will return generator in that it bends.
Jan had.
Various and a small object of a.
Object of a.
Well, get off balance.
A
great example.
Example the list came along.
About what what else you will see?
And memory storing the value.
So what shall?
The.
The U.N. doesn't store the knowledge in memory.
Value in memory.
Then in case of returns a to the value and value in memory of.
So then you are going to prefer very.
In Gears of War, look, a lot of the darker units in case of not being developed.
OK, any other difference you can think of?
And it presents only one thing, the is, OK, so also you again say that generator.
So I can only do it here, and so I think
there is a lot of intrigue that can that can be studied only one way.
OK.
So by uncovering that engineering hat before coming to Yale was so that this concept that the right
so any any defense in this, any any, is it clear any positions in this, this committee is water coming
to you live in the same lake using the events like no, you cannot.
OK, so if you think your friends know you're still going from one condition, then you learn from the
world to.
You can try and try.
That's a good thing.
I think, Richard, what considering considering it is?
Not a compiled language training language, probably.
Maybe it may work because it may never come to the next thing is work.
So let us say it's a good thing.
So I say that I think are important.
It's OK, but that is OK.
And I pass thanks to you at.
And I say that X is a variable.
I use VI for you.
Specify why it's critical for you.
And the only way to get if I pass.
If many buyers are poor it, it's an actual call.
OK.
And go and see if.
If X is equal to equal to what I think I've been doing after this one.
OK.
Let's see.
And in this case, I want to return.
He's got a.
Let's.
I can actually work for nothing.
Oh, my about I did not think this should be waiting.
Yeah, see.
Or keep it.
It is always behaving later, it is behaving like a generator only if it is a second thing when it goes
for the second time.
By the time it goes for a think it be held as a generator.
That's okay.
Second day my powers are.
A few people had gone insane.
This accessible do I think they then or I is included in my list?
And is there see if a cheerleader at each it here by putting a simple statement and it is a.
But actually, each door here is a.
OK, then you then what have been an intruder also?
And if this door had caught making it is a picture that altered it and that is elderly, it can change
the country lest we all of them might just be killed.
But they did not what Justin Trudeau out is there to look at and imagine that any and all this might
have done that.
OK, let's see what here I am calling this function.
I don't think there is anything major that is in addition to that.
If you had a generator, you have a generator, but it did not work this.
Okay, so.
While the written statement is not lacking in this case, it then is a shot at it and say here, look,
probably because it is expecting the expecting the last line of the book to be written on what it.
This is what you are saying.
And let's see how we can live in the North and not the calling or telephone calling or water flooding
already as x x equals to why we are calling so we can call X equals departments.
So just change by united
way and.
You know, I think that the statement.
Where it is, they can generate let's change the name of the function and see if you can see if you
can see.
This is will be one.
Will be one of feeling will be in the business 42.
People.
Or people or people that seem.
Philippines senator.
If I go in this House, return should be within far look great.
No, the retention department.
You could be within the problem.
OK.
So, you know, it turns.
No, it is good, and in the.
But his is working fine and is working fine.
If I win this race will just remove this piece of if anybody's coming.
Maybe there's no more difference.
No, I'm calling only with odd.
OK.
I'm calling only with us, so it could not it should not go with the edit itself, but they're not going
to say this.
It only goes inside this if it is pulled away.
But this is people who are like that, it's one thing, something crazy.
So what is this?
These are.
Go ahead.
Referring to downsizing, that site's printing printing district, the the first printing inside the
function, then we are printing here when Gordon, where we are first printing, printing research.
I believe in it.
No, no, it's in a case of Britain.
We're not going to be in.
So if I if I just if I just add this over, I mean, I just use this at the moment, it looks like the
moment you use the Yale killer, the moment you're using a killer function definition, it always sticks
as a generator.
It is the as overriding a reason.
So you cannot do this.
I mean, if it was another programming languages late a compiler in programming languages, it would
had given you an error there, except for the combination be like in the python.
It is crazy because it is operating near you.
Yeah.
Even if it is going for you when it is going for, are you going for an at the moment it sees a year
like you were anywhere.
It always seems that, OK, I will reduce the gender.
Yeah.
Okay.
So ignore this example of this example.
Yes, what it looks like the moment we use.
What tools we used to use it over a routine on these events?
OK.
Any are you in or never?
This.
You can you can make a two different functions if you want one function with a yield and one function.
Yeah.
OK, so.
Let's do it.
It's going to create more goods.
Maybe it's let's just take a quick break for seven minutes.
Let's.
The time is.
And year planned come back in seven minutes.
The famous 10 competing.
Come back in seven minutes.
At 11:00.
So, Mario, this.
So what happens is there are some things like how to find absolute value if apps factorial and all these
functions.
These functions are commonly used.
Right?
So since these functions are commonly used, it is already written by someone else and they make it
available to you as a more you say, they make it available to you as a more you.
So that what you can do is if you have that module with you, you can simply import that more, you're
using an import statement.
And once you hold that more, you're using in a bold statement, you can use the functions that are
available inside that modularity and I like and made the edge dog fabs.
It can be a function, it can be a variable also.
Some of the modules can give you the variables for value for a variable, like what is the value followed
up by maybe two one seven eight three one one four something?
Or what is the value for Epsilon and so on at eight?
So you don't.
How do we collect all these values of epsilon and what is the value of PI and so on?
Neither do you.
How do read eight all the commonly used functions, like the difference between do they do?
Or how to find the bacterial because someone else has already written for you and you can just simply
import and use it.
But that's why it is a more and more if you want to write your own more unit, you can also write your
own module and do it.
Any extension as dirty got quite.
We are going to see how do they do on moral as well?
But what here, what we are doing is we are importing something, we are importing a mat that is nothing
but a you.
If you are doing X is equal to minus five years of X, what will be the output?
ABC, what will be the outlook for?
Rate absolutely right.
So this is the normal function.
You know, what I'm doing is I'm using the function of ABS that is present inside this body.
And Matt, as of fact X, it is.
I'm just going to give you a fire.
Again, what I'm doing over here is Matt.
We always try to look from inside the first exit minus five absolute of minus bias by.
And Factory A Fight is fighting for industry in Beverly Dillon is 120.
Again, sad looking from inside absolute value of minus faceplate and factory, it is likely.
OK, so mean to say that the important module and whatever is the function that is presented inside
the module, you have to use it as a module or function and the function of you can also simply use
this.
OK.
Can also OK, if I do this simple math as AM.
So what will be change?
What will we jan?
If I do import matters, then what I need to change over here in the Senate, 213 Democrats and or against
you and you can decide I am.
And dark and dark and.
And if you like significant things again, that everything.
So you have to use and.
OK.
OK, so if I do this, we have strong import from mad.
Import.
A family, is that what I need to do?
If I do this from my for everybody is that.
I can better get out of here if there is no more than a dirt road.
Think making it up so that they can be better would have.
So if I'm doing this, I can medically use a baby, it's at eight.
And.
How about this way, if I do this kind of it, what is the difference between Darboe and this one?
What is the difference between this and this?
Will import all the functions.
OK, so shall shall we look like this?
No.
OK, so the best way to do it this way.
Given and yes, so that it can be a small.
Second, best with something you want some functions that you know, it is not like doing specifically
do what you want.
This usually no use of branding it, so you're not going.
OK.
What did or does the name of the Marriott?
This.
This is the name of the war, really.
OK.
Let us see what is a system, but.
Let me come on this one, but this wasn't for one minute, and it will be so impulsive.
OK.
And this is not what it is doing it.
It is pointing toward this system, but blank.
Content, the Brazilian and when he had be slashed by a bit.
He was certainly.
Exactly, exactly.
Exactly.
And so many places, whatever it is, it is going on this basis, so it is going to look whatever information
you, the executive, is going to look at it.
And if I want to up and some more part of it here, I think if I want to spend some more to go ahead,
I can use this dark part, which by Philip opening.
Let me I've been somewhat.
So let's see, I want to open up our borders.
He was.
It was a.
I look in.
And that's a good.
It seems a and could only wind up.
They were not all them.
I want to.
It is multiple.
So I'm just including this pattern, so I'm opening this spot so that.
Whenever you read something, it has also been quite happy because it isn't the way it is.
So you can upend the past, say this is no there's in battling and interacting with their local.
Then good 11 a.m. Anyone who knows what is good at.
Anyone who knows what is good at.
OK, so.
What is Gouda right?
And to discuss what is good offensive came out of out of the country, so there is something called
the CBO, what is he bill?
What is CPU?
What is utterly unique?
OK, so it does all this processing, and let's say you want to do plastic or whatever you do with it,
your data and see what is GB?
Or does you build on what is graphic that?
That's more for gaming and gaming rate.
So gaming rig.
So, JB, you are graphic that dubious graphical processing unit.
So it is used for gaming.
Now what happens is in case of neural networks, in machine learning, in games of machine learning,
what to say, you will see that internally there is a lot of mathematics.
That's why we studied and in things it does on doesn't make duplications at eight.
So there is a lot of mathematics in machine learning.
But if you go, I mean, it's all internally, you don't have to worry much.
Whatever we applaud is all essential and it's motivating them.
But if you're going to a deep learning, then you go into a deep learning or a neural network when in
the same vein, you go into a deep learning in a deep learning, machine learning, you can think that
there is only one function rate that does.
But in case of deep learning, it should be a lot of functions out of the.
And.
You got a function today in deep learning or a neural network in between these functions are called
as a neural network, neural neurons, the same neurons that are present, and this is going to be like
this every with.
OK.
And you can have multiple such lists.
And all these layers that connected with each other.
Right.
All this something, it looks something like this, so this is you had to wait here in case of deep
learning, and this is an example of then import can be an image image of a got it on.
You put an image of a character, and I will say that, OK, this is a cat or this is a dog, simple
example.
So simple example, is it going to say that it is a gag order designed, but it's a gag order I'm dealing?
So meaning to say that since there is so many connections or each connection, there is a multiplication
and addition happening again this minute.
For this connection, there will be a multiplication.
In addition, this is multiplication in a region where the beauty generation lot of and other functions
are also happening, not just multiplication and each other.
Very big deals is that.
Then, you know, you radio mainly.
And mainly if anybody does, so all these things that are happening in deep learning is even what they
mean to say it's more even.
I mean, a lot of mathematics happens behind the scenes.
So far, mathematics, what these people do is instead of using a CPU that will be very slow.
What they do is they use something called LGB.
OK, but keep you out of the box is made for a graphic card.
You cannot use a GPO that for multiplication and all, it is used for display purposes, but it is efficient
to do that.
It is efficient and the same thing to do all this multiplication as well.
So for this multiplications and all the other people and for this episode to enable this GPO processing
in order to do this kind of things on a you.
There is a framework called guda that is a framework called what is a famous company who makes a good
deal.
And there are a lot of companies who make which one is a big deal and really any a computing framework
designed by and really OK, it's developed by a computing framework developed by India to enable ultra
high processing computing on it.
But there is a library called a quarter.
On a package for a border that isn't equipped, this is out of the discussion, you can just forget
it.
But just to let you know is something related to when you want to would be planning for that.
My bet is any kind of computing on a jeep you.
You can Google all this more about what is going to be.
Could raise a parallel computing platform.
Application programming interface model created by media that IBM's software developers operating in
the U.S. embedded graphics processing unit.
So when you wanted to buy it, if you want to buy a laptop, desktop or a machine with AGP, you make
sure that it is good anywhere and you have to see how many good uploads that appear in that.
Like, you have a octa-core or a dual core quad core processor.
Similarly, in GPOs, you have portable.
So you have to you have to be able to go to this website and buy a debut back as a builder and.
So let's let's come back to the business.
So.
What we do to look here is we need a bottle of vodka.
Yeah.
I ended up with it.
All right.
It is all.
So this is how you can help anybody and can endure if you are working on, we must be seeing if you
are what you want and we must be seeing if you were born.
You were on.
Joanne or ordinance colleagues voted against the bill.
My computer is a.
Property is.
Because I had a look.
And one system think.
Then it went where there was an environment where three of these athletic green fund, that and word,
but.
It's the same thing if you're doing on a reverse machine, either you can the part the warrior manually
or you can also.
It was just a start, but Larry.
So the same thing we are and it's up to the bar.
Now, the next thing that we want to do it hit is I want to.
Import some content from my.
I want to use memorial and memorial is presenting a medal gallery, I go to Google Play.
That's what we're going to bring.
Yeah.
I go to a Google drink.
Notable data.
I go to I can be six.
And you see this snake brought by by Python, basic modules or by any money, don't buy and this might
explain.
These three man modules and by speedboats backed by them.
And what I want to do is I want to get the data from.
This Google drive my program, so if I want to get the details of my Google gaming program.
I have this problem will pull CoLab, Bill, if all right and not moan and insularity.
So it is going to but you need to authenticate it one thing when they.
Yes, Poppy, this whatever it.
It will connect you with your Google right now, you are able to access all the files that are present
and say, Michael, where they look just like this court.
And just take the view of this board and now you can access the board.
That is present in the Google Play.
If I want to see what is there inside this inside this spot.
Exclamation means it's that someone else means to list on the files and folders, and if I had said
that, if we can say they might have said and then they where they buried the affordable desert will
have more room data.
So I would say, what is that it data?
Let's see what is that it would be bipartisan.
Let me see what is there, the fact that music?
So, in fact, NBC, that is the Python program, at which point.
OK, so this is the pleadings that are present.
So I'm just doing a listing and just checking what is didn't take.
So I have this.
So my faith basics is present inside data.
OK.
And can anyone tell me what will this come and what what does this mean?
What does this exclamation mean?
What is the meaning of inflammation?
This will be in the 6:00 a.m. in L.A. next command, what is this before?
Anyone who has worked in its of discipline means.
But people change, but people.
So copy the contents from.
Bobby hasn't been strong this particular location or within this particular location of this particular
location.
That is may never be appointed correctly.
So it just copies the things from this fact.
So it's just popping.
We are just doing a casino review and not doing anything with this at any rate, clip, copy and paste
that click copy and paste the copy just to copy paste.
We copy.
Despite that, the basic model.
It's say, Securency, let's see if it is called upon.
So he can successfully, and it does seem that he knows that, as you would on.
So.
To be sure, boy.
What is the.
What is the betting against the future?
So if you're going inside Afghanistan by default, if.
By default this year, what if you go back and go inside this country?
And I think that you will see that.
I 10 basic modules by the Python Basics module taught by his copy to the Python music module, by his
popular weight loss company to litigate against.
I think we have.
Ruby was pointing to the fact that did so.
It is whatever you say it is of this meeting going to whatever it is, the one thing that if so, what
I did was this latest someone there was a copy on this particular module because it is not backed into
this and putting a copy with it.
Any questions and any questions and.
So what I have done over here is I have just mounted the Google Drive or whatever, and this quite a
good step.
Second thing I just listed what is what are the different things that I have?
And I just copied about all the files from my Google stopping at one of the patents.
Let's see what is their incentive, despite then receiving more.
So instead of Python Basic Modular by.
There are two functions to define what is this function doing?
Be quick, Bisquick, it's less than being liberated from my time with Steve Martin.
OK, what is this one person doing for finding the role of the No.
Given out by the fact that money, it's a very simple program.
So we are just going, we have just copied it all.
OK.
What is what are we doing over here?
We are importing that model in boats, GoToMeeting work.
Everything from that model.
Do you think my idiot?
What are we doing over here?
No, no, they're getting an input.
No, no.
And we're here.
Remember petrol by Colin Bell, OK?
And that, in fact, clearly they saw.
We just came non-negative negative eight.
And what this does is it and words that nobody who went in budget and the bacteria.
And in fact, it is.
Four zero zero houses looking at.
NZ Andrew 5:43 interviewed by Billboard Industry in total involvement.
And people won't declare that when you get this number.
If you want to read for us my best 30th at three, the.
I thought, you know, pre being the to let go one, two, six eight.
So just by what is this, what will this do?
Can anyone expect we wanted this to?
Now building up in the retirement heard about my conversion model.
No, no, no.
So I just printing that if I'm just simply voting like this, then I have to go the more this.
Morgan, not this contest and.
Again, on the same blog, it was this as X Y Z, and you can call it as it was repeated so many times
and.
It should be immediately.
You cannot say, importantly, that this are put this game.
I don't know what here would be a big both starting and looking every day.
If you do this, you are importing into everything, but how big is that function that is?
And if you're from by and what does this mean, you're only willing to use the Typekit?
OK.
Percent pWt also views the present, but in reality, this also gives the present question that if you
imagine what are the contents inside this unless.
It's less than a.
You can see with an endless I.
Now over here, what I'm doing, which more your name and body.
What is the name of the Maryland recording, will it?
By some basic, more be basic, more easily.
So.
Can you see the Biden building more relevant to what hit?
No, no.
So if I execute, what will happen?
It seems that more than an hour on and a marine lot on it says that you can do, you get inside.
We've been told all of those things, but meaning to say that this money has not come so that I can
go into a Google drive and just read a copy.
But what I can simply do is I can also.
Drag and drop into what it.
OK.
And it says that to remain that uploaded files, they get deleted with that abatement that is safe,
that's OK.
So can you see how Capito adhere?
And you see that by the Python basic model, but not by what I did was I just opened my file browser
and just.
Drag and drop over the country, or you can also click on Upload our session and you can learn something
from here.
Thank you.
Get on top of it.
So I figure you can drag and drop when you can just keep on going to clean up.
Now you've done this.
And it is that get from basic money with so meaning to say that if you want to keep the data in your
persistent storage, you're going to keep those things in your Google Drive and every time copy that
bill will really be down to this campaign.
Location, or you can also, if you want everything, you can just upload it as well because this session
will go to the under-12s site.
If you are using for 12 hours continuously, this will go up and then you have to.
Upload it again, either you can put in a Google drive and copy audio.
That's all we did for.
By then, basic marine.
Or you can directly upload it here.
That's what we did for Python Music Maryland.
And every day now, what is the difference between?
Exclamation point, exclamation is what we have discussed.
And by the tea is also a magic word that we can use.
So what is a different movie?
Not?
Exclamation, point, exclamation, if someone alienates someone, do you think this is a st is associated
or give it, then?
Right?
So we discuss all this with this segment, but you'll feel free to read this link.
So going ahead.
Closing an opening of the fight.
So, Sam, Pilot, the first one of my sample is.
Where is this temperature inside that data being broken by 10 by 16?
So.
It would be to go.
People think that basics.
OK, so let me take the part, because I changed what you said.
Systemic.
If you're going to open this.
It's very simple, I mean, you don't have to explain now you're just opening this file and you are
opening this file in a read more.
And you are reading every line, one by one, when you are reading the lines one by one and you are
printing billings.
So just bring.
Over here again.
You're reading the opening opening in the read more.
But instead of using instead of using a for loop for reading it or lining it up, using a for loop over
here you are directly using up of companies that have read, but I have got read.
So this was like two people, five, six, seven, eight and adding one more line, so it will add one
more line where it.
Circulate and maintain the work that you're doing, anything and everything you know in plane will claim
I'm opening it up.
And it could be new lame duck and go ahead and see the that.
It should be, I don't believe, meaning when two, three, four five, six, seven, eight nine and
I thought this new names were back.
So this is up anymore.
If I look at the blue, then what will happen?
If I know what happened.
Think of it only over a.
OK.
Well, it's all right and Olubunmi.
So.
Separately.
And we will tolerate even better.
I've been up in.
I've been I've been talking to this about how to open a file in a huge raid mode and how to defend myself,
I did not too many names.
It would not be working with the white.
Yeah.
So, OK, what what is this going to do anyway?
What is this going to do?
Copy.
Copy from where to it?
Copy from primarily on the last May day, anyway, anyone despairing at to the coroner.
So this is anyone got by in.
This is.
Let me clarify it actually be the notable data supplied by the basics.
There's so I'm just copying you to look at if I copy it over here.
Let's execute it.
Let me go and see what is going to find out what you can see that any man bands named or taste of anyone
who don't bite and start playing this copy.
Let us see what this animal got by its name, got bonus.
Let's face it, got back.
So what does this -- by doing anyway?
Can you explain your reasoning?
Not by doing.
Can you explain what is this really is actually difficult, it isn't hitting anywhere, but then the
contentment function and the snake that it's pretty expensive, separate just everyday a.
And can anyone extend what is this animal or by doing?
What is this plane doing?
What is this doing, what is this language sprinting, reading something?
Whatever, depending this is some function that is going to find what it is and what parameters for
this function.
Animal name animal lib.
Then it is breaking something what it is spending on in something.
OK, will this will this line be executed at the festival?
Yes.
Will dysfunction be exaggerated in the puzzle?
No, no, no.
Until it is looked upon before?
OK.
What is this doing?
If condition, if conditions mean, I mean, what does it mean is if the entry point for this program,
if this is the latest entry point, then this name will help you mean it is a directory and it says
that animal, all animals animal got by is that and that it be OK.
So by the way, the program is barbaric when you call that program directly.
This name always have mean and say OK, so it indicates that this is the first program that was.
It will.
OK, but let's see if it is imported in some other program, if it is important in some other problem
like it was, I'll tell you what they need.
If it was important to me in that case, it will go ahead if it is directly.
Goldman, this one, if it is automatically legal, then it will go ahead.
That is, it is saying that anybody that buys imported cement when it is important to know what use
case it is imported or what it is and put it away.
So let's hit on this program and let's see.
And let's run this program, and you will usually be able to explain me what to do.
One by one each.
What will you do if I run this?
What will be printed if I run this block or will be printed and we separate this block, baby or in
this mr?
If I run this, if I run this block, what will be printed?
Can you explain me?
What will be the output of this?
At least give it a.
You put them in executions.
Well, the fact from the first line that this is the first line, so what will be and was any animal
or this will be a direct state of steps that majority will be.
The first line that will be state established that animal dog will be better than what will happen next.
What is this?
How variable and just a variable rate string they don't need, but just a variable, so just a variable
alpha takes just a variable off.
Like they say, it's a variable of a string.
And what I'm doing this percent run, meaning what?
You got to get this.
Running this program and we are all in this program and you might think, OK, so it is going to go
to the animal part.
But then if it comes in, say, then what did they do?
Let's bring in anyone got from animals or be there from underscore underscore name underscore, but
is it directly called not?
It is called from somewhere else.
It is back.
So what will this name underscore?
Underscore will help.
If a program is going better, give a Python program is called radically, what is the value in and
that's good and for all Dubliners good.
Me.
If a Python program is directly gone, what is the value in saying that what it does for me?
And that's good.
All right, buddy.
All right.
No, no, no.
It will always help me.
It will help me get this will have I mean, if a program is directly bought, it will help.
Even if a program is that and people like me are calling this.
Name for it here.
This will have all this will have a mean serve, will bring in any money or buy from me that this part
of the code will not be executed, then it won't say this or it will go and say this first question
when it wins over this will.
No way, because it didn't happen having that mean that underscored me.
And that's commendable, Anderson, because the program was directly part of the program, was directly
on a program indirectly by you are directly following any money not paying your body any money, but
you're not calling it x y z.
But by that is calling anyone any money does that.
So they go inside this, then what it will do?
This will bring on if the.
What are you trying to bring then?
So it is calling this animal and animal with all animals.
But this is an epidemic that is all animals.
And what it is going to bring.
Improved animal function when goals from me, you know, what is any mandate?
And that's what I mean.
Then what will this mean?
Animal is all animals on animals state and then what will happen?
What will this do?
Animal dog by is directly that.
It's very that right and get away.
So let's say this.
So let's say to see if for this.
So if I claim this has been, you know, that vision about this puzzling second thing, it goes inside
this program and goes inside this program.
It then goes inside this animal planet because you are running animal, but by any measure playing what
is the first name that has been done in animal bite from me?
So you can see what hit an animal dog buying from me.
Then next thing before we execute it, it will go inside this, I will call this function as a band
animal all elements and it is going to find these two.
You can see that these two names have been.
Then after the installation is going to break, that plays an American.
Anyway, but is that accurate?
That's right.
Anyone having any doubts in this story just told me this, though I like the fact that we made some
stuff and it's kind of in there.
If you're writing a big program, say it's kind of hard.
We do indicate that.
This is the first program of the increased.
The main entry point to how it happens is, let's say I am waiting my multiple programs me between.
And believe me, they don't have to.
So what happens is why is this menu split?
So let's say you are writing three programs.
Program where?
Incinerating three programs program and what?
Go down to.
And Program three, uniting this favorable election program went in program, the work you do is to
simply import program to import.
Program.
Retaliatory programs and programs when you do import program.
Who had broken up three?
Let's say this has five functions, two for to functions function, functional function, be functional
for.
This has functions by function, six functions.
Let's not looking at as an object.
And this also has three full functions left functioning and functioning, so in order to make a structure
of a program right, how about the program execution should begin.
So what do you usually do is what had you will write if that's what I mean, is it going to get a score
on that score is equal to another and that's for me is equal to score.
And then you say that call function?
That's it.
And what dysfunctional will do is, let's say dysfunctional does something, and it says that call functionally
what dysfunctional name does is quite functional when it comes to common people would qualify for almost
six, almost eight all functioning.
So basically, what if I would have done some program like this, which has a program brought by a program
called out by a program to either play a big program?
So how do I see that from where the my code execution should start?
So to make it more systematic.
You usually start the program this week again, to be honest, a data science people don't do.
I mean, data science people are not good at this.
Data science, people are not good at this.
Even if you don't know this, it's still OK.
But this is more from a software engineering perspective.
So if there is some sort of lesson about that, it's more important for him to know that how to stock
up program or how to make up for the it.
So always there should be a single entry point so that for a good read, it is mainly for all the old
readability point of view.
It doesn't matter.
But it's always good.
You know, this week, if I know all the functions, I'm there to define some functions in different
modules, good or bad programs, or to import those modules over here.
And finally, you say that.
If the name this is, many people think so, this basically specifies just like if you are and if you
are Megawati, the first plane is.
Public static away a men.
Public standing right, I mean.
And there's some arguments that I.
And something like this happened, some code is written, so this is basically entry point and that
it functions out of behind other places.
Similarly, this is you can think of it as a public school deploy to me and I'll fly Java.
But in Java, you'll see public static void men is actually ideal entry point.
You are or will always start exuding from the enemy in Java, your program board will start exuding
from public static world, but then by then it is not necessary.
It has got nothing to do with it, but as a good software engineering practice, you make it as a means
and you execute it from it.
But again, this is out of high school comedy that sense perspective of learning this more from a software
engineering perspective.
But some part of it I have covered over whatever so that you at least know that whenever you get a program,
the first program, you get this particular variable actors, portable actors for sport will have a
mean written inside it.
It's all internal to Python.
When you open the Legislature, you know, all the plants up in the same package.
But if we sound on on.
But it is the think in some other Florida.
So what will the rest of Florida this morning needs to do the same kind of music?
And this going to rain will now always give you made if it is a first program, if you're running that
program, apparently by running this on maybe the pythons, because the pythons, because that it will
be almost mean we had would do it.
Obviously recycling something somewhat different scientifically.
If you if you call a program, it will be mean if you imported or indirectly got a program problem and
say it will not be mean.
And I suppose the from the snake, but the way I am.
And we will look into this, OK, in the next example, in this example.
So maybe you can explain this one.
What will this do?
What will be the first output for this start start screen?
There's a variable named your body has been brought by.
It's named named.
What is needed or by doing?
It is importing and importing animal and doing what?
Cutting up competition from anyone in the function and tendencies that it's named or planned then.
But now it is being interpreted by mentioning of animals.
So this will be executed?
No.
Yes.
OK.
This and this name will not ever mean no because it is imported somewhere else.
So, you know the name and it was not clear.
It will have any and then it will go ahead.
Any animal name was snake, but it will say that Imprint Animal went from animal.
Animal is a snake.
OK.
Because this particular function is quite right.
And.
It will not go away.
It will not go away it.
OK, not go ahead.
But at the start, only this is going to say that any money or buy is imported.
OK, so let us run and let us let us, first of all, our understanding of it.
So I think that will that over here will be this.
Let me open A. back so that I can no doubt put my.
I would expect that I would put it.
So is it clear that the first thing will be this?
Let me share the interesting.
So.
The first thing will be this one.
OK, second thing, what will be this?
You're calling snake got bite.
You're calling us naked or.
Go, OK, if you're calling us named, but by.
So you are calling a standard by where does it go?
Import any meat import animal means, will this land be executed?
Yes.
Then this line will be able to take a cigarette.
So I bring this one, this will not be executed, right, this will not be executed because it's not
foreign.
It's not your call.
So this will execute this.
When will this line be executed at the aim of import?
No, sorry.
No way we thought it is not like this one, and then it's not a me, so it won't be a lesbian cigarette.
Yes, because this module is important, so it will be easier than anyone is imported.
Okay.
This would be able to do that.
So this is happening whenever you try to import statements that are most important when everything happened.
What will happen next?
A group of the coalition then called the function animal or animals animal or print animal.
It sure it will print this.
OK.
This was good, a all important.
OK.
And I will do it at the time of finding any dog in any.
OK, this will be printed and.
This will be.
OK.
Will this be executed?
Will this be executive?
Don't know where you are just calling dysfunctionally.
Said the time of filing any any but only dysfunction will be executed.
Yes, OK, not.
And I think it's looking at what is now what will be present.
Anything done OK and standard, let's say, to see this.
This is it.
This is complicated, but it'll be here all year.
And since if it is taking some time for you to digest, it's OK to look into it.
One things more than three dimensional and see this that firstly.
Then these two lanes.
These animals are tired from animals, and this animal always important is fooling people.
Then these two lanes.
Is these two names and then this link and this link.
So this is not easy to understand.
But at the same time, I mean, from a data science point of view, again, even if you don't understand
this, you can still work on this.
It's more important to understand from a software engineering perspective, you went from a data sense,
but something to going about your head.
But try to put some efforts and try to understand by changing the name of animated snake and try to
try to play with it more.
You play with it.
You couldn't be more clear.
Any questions so far in this?
Any questions in this import?
So the main thing you are to understand is if it is better, keep on it without an arrest warrant.
That's going to mean if it is not directly bolted out of the package, name Richard.
And basically, if you are planning a program and importing something out as it always the flow, the
flow will be clear with this example, but so.
To explore this again, from data science perspective, it's not very important, but it's always good
to have.
This knowledge, especially when you are recognizing your.
Machine learning models, human need to convert it into a Python program.
I do believe that we had any organ busy.
It's good to have a few.
Then talking about exception handling.
Can anyone tell me, OK, and what is this dysfunction?
What what is this function doing?
Can anyone explain what is this function doing?
You can start with what is the name of the function?
What is a parameter?
What is the function going to do?
And then you can explain to me.
What is the name of the function?
Volcanic outrage, what is the input parameter?
Most families.
So basically, you can see a list is getting better input parameter and basically actually a range of
if there are.
Numbers to make the average of those numbers at eight.
So let's hear if I'm giving this number as 10, 20, 30, 40, say really of 10, 20, 30, 40 is 25
ways.
I don't want to extend this logic, if you can understand if not.
Wendy, five or zero eight, 25.0, what if I ran for this empty list, if I didn't for this empty list?
How do you calculate this sum is equal to zero for each number in the list?
It's going to add it.
Finally, after taking the sample, it's converting the some industrial and the waiting of list.
So what what is the length of this list?
What is the length of this list?
Zero zero zero.
So if you revitalize, you know what will happen.
Zero zero zero division at a rate, is it clear by the zero revisions that it's coming?
Any doubts in this because you are doing a blend of numbers, so you are giving getting zero division
at it?
Okay, so let us let us come in just what everyone does.
Now let's execute.
Now, can anyone explain me or at one?
It give me 25.
OK.
It's OK.
It was great.
But let's do it.
Give you zero division eight Adam.
Because the land was, you know, so used to be good at it.
Can anyone explain me why this feeling for the.
And some elements of this type of thing.
So basically, it is highlighting medical, it is highlighting and that is very similar to what it.
Also, basically, it failed already at least three, and it failed already, so when it was fired from
every job listing, when you thinking then every monetary thought here, it says that it failed to admit
it was taking failure to take some surviving and deep.
Lester B came across ABC.
So you cannot take us some of ABC unsupported all day plus flooding bigger anything.
You cannot any bigger to it together.
So these are kind of an exception today.
The first exception was this revision error that we saw before this and what had it is at a better rate.
So you are getting a tiny bit, OK, you're getting a Typekit in the previous example, if you need,
if you bought here, you are getting, as you know, revision at a rate.
So these kind of an error can come right and you'll need to handle it again from a data science perspective
and not that important.
But when you want the production as your model, it is important how to handle the as principal.
So.
This is this is that right?
These are the areas that we saw.
These are golden exhibitions, but in it it.
So we want to handle this exemption, right, so there were two days off and out of that game for us,
when was this, you know, the originator that we saw what?
And that was like, Hey, you better episode?
You handle the exceptions and case of a python, just like any other programming languages also have.
You have a tight gadget blog over the edge at a wedding and you have a great accent.
OK, try accent.
So what it is going to do is it is going to try to execute this piece of code.
It is going to try to execute this piece of code, whatever you have written and that you went off,
you better.
If it comes across a typewriter, it is going to say that, OK, that is a tiny bit it.
And if it comes across any time in this piece of a as zero division area, it is going to say that,
okay, there is a zero division at it and we feel not be.
And it will not be.
So you see what he had when you see you get the gold was failing, but the way to get it is running
successfully.
So for the last one, it was able to find that out, but they didn't give it to you, be for the list
two when there was a zero division error over here, this guy except blog that repented or bc0 division
that order here, and it created that zero division at it with some division zero division at a lower
division by zero.
I think you're trying to offload division based.
And for the next example, when you were trying to do some of ABC with a number, it came across a tape
better and there for you that they better and supported opening date.
So whenever you think that there can be an edit and directly using it, I said no.
There is obedience in a try, except block over here.
But there is something called desert dry that is a piece of a gold that you want to execute.
Except is a piece of a quote that will be executed when there is an exception of that particular piece
tape.
And finally, is that all that will always be a game, whether it is successful or if it finally is
a piece of a cord that will always be executed, but then it is success.
R.P. Eddy.
So you can see it was a success.
So this was executed, but in fact finally always executed, finished when minutes or the next when
it tried to do it, but it got the only region at it.
So it created zero division at it.
But finally, is always good to finish.
The next thing, 20, 30, ABC, it came across a better day to execute and this got better and.
It is a good outfit statement.
So this is finally a piece of a code of that is that is always executed, even if you get an error on
the some of the most common use case of using a try, except Finelli is.
Trying.
Try and try and regulate the code for a reading of a reader, if I.
OK.
Except you will accept some of the exemptions.
Accept whatever you want to accept, maybe failures and use failures and use may sound like they are
maybe not found.
Not phone.
On may be unable to write for some reason, anybody today, for whatever reason you are saying today,
maybe it's a little bit of eye opener for me.
OK, let's open up a fight or whatever.
By reading a file, you got time to Bailey's in law, so always.
And finally, what you are going to end up losing fight because close our fight because you need to
close a fight, whether you are successful in reading, writing or whatever, or whether you got an
error since you open up fight.
You should always close off a race and the bail will be locked for the entire moment of their time.
In their time, this program is executing when the program is executed, it will be, but if the program
is executing and the program is taking three days to execute.
And then the file will be in lockstep for three days at eight, so they'll be, you know.
But any of these things, I mean, probably doesn't resonate with me.
My dad's from.
Software engineering gained jobs and it ends science, people may not know this and what.
So this is about I accept, and finally, the last thing is, if you want to explore more on the Google
for that, but I'd give anything for a future or what pseudoscience towards data science is one of the
good websites, what a data science, but spoke to a lot of articles, what bearing witness to the science.
We can try to follow it.
If I had asked what a subscription either paid a subscription or every time we went and then it got
me to more.
And you can read this, really?
So you can obviously find any because it does for subscription video editing, enough of the stories
for free know you need to be reading the stories in that case.
You can open in an incognito mode, and if you want to make money for you, had to say you can also
start writing and what citizens you first still to write into a website or as a medium.
And after writing and build upset world as a medium, you can put them in there to educate Assange and.
You can you can you can Google how to hate on a medium and operate on a religiously.
So if you are riding.
It's good for you, it's OK any doubt so far.
Any notes in this of that?