By the way, in this lecture we were learning between weddings.
And the global variable and the local variables.
Of pent up anger.
She.
The return estimate makes a function.
Return a weighted.
Let's see a concrete example.
Saying You understand what it means.
For example, we didn't buy a steam or steam.
We still use the x y3.
Here.
For example, we name the some equal X and Y and.
The.
We return, we use the returns they make here.
Return some.
That means.
We ask that function, return the value of a stock.
That means, of course, here.
Also, you can use a print.
Print some.
The differences.
Prentiss Armacost asked to display the same result, but here, it means, will return the value of
sum to the losers.
In fact, they are the same.
But the meaning but different ways of return value, not just plane tickets out.
Okay.
No less, Ryan.
The module.
Because you are.
We see we.
We called these lecture notes.
We turned.
When you.
Global.
Local.
Where he was is lonely, but.
And this name can remind us what's the content of these notes, this quote.
Okay.
Let's see.
Steve.
No.
We just record the punk scene 3 to 1.
For example, see, we got to six.
That's the way to look.
Some.
Okay.
No less.
Ste was global and local first LLC global wearables.
Variables that are carried on the side of function.
Global variables can be used both inside and outside of functions.
Let's see an example.
Uh.
Benoit Global.
Variables or variable or variables.
We still use.
Uh, but maybe we modified a little bit.
We have.
Son.
We may change the name and.
Here.
We?
Hey, we're ready for x x equal.
We're here.
We're at a function.
In the punk scene we have just.
To where two was.
That's why.
We?
God and.
Maybe he was x, y and we could use others.
A.
A and a B.
Here we go to see.
A.
And we.
Then we can return the seat or just the privacy is okay.
We can print.
You can use the internet or here you can use range.
See.
These are available.
We called is global and it is an author site.
The auction.
See, this is the function, but this variable is outside this function.
Let's go and run.
The one in first name we call.
The punk scene could add.
We have already had a.
Right.
We currently.
We got.
Another one, three.
Is it?
We can go compete so we can use these wearable.
You say the function?
You see it already used a.
Here is a five theme theme.
Okay.
And.
This is the global variable.
Of course.
Here I use a panel.
Hello.
You see.
But we also can.
That means here.
You can also do this.
For example, we talked.
Rained a.
Does he go to play?
Yeah, because he is the global variable.
So we can use music in the punk scene and we can also use it.
You see after function all the side function you see we can't use print a not for this function.
No.
Let's see about how is the local variable.
Look, however, is the variable that created each side of boxing.
Since variable kind.
You user only say the function.
Let's see the thing focusing.
For example, this one.
It just took me.
No.
We pulled the swine.
He signed.
The function.
Back at this.
Maybe there still must be.
Is six.
The is a let it be like this.
This means.
A and B are local variables.
These wearables can only be used in etc. function less right then you will understand.
Maybe we could.
In order to distinguish these flying planes, the Apollo.
Records.
Uh.
And.
They had a calculate kick just like this.
You can use any.
Less right.
Then we test the core because here you see, we didn't write any argument parameters inside the purposes.
So we just court.
And.
Thank.
This.
We go to the reserved 11.
But how about we want a train a.
All because of here.
This is why even they rained here.
We already named a list.
Change a two.
And you know.
And.
Thing, for example.
You know.
M.
The pain.
Blessed Ryan to be.
No.
We call and.
Later, Fed care fell.
You see, we got a levy.
But how?
We trained.
The.
L.
Laissez faire.
The error that says niemeyer is not defined because it belongs to the local variable.
Of the function.
Also complained.
Am.
Take the scene, Mr. Devine, because the local.
Where was the function?
Okay.
Let's see what else?
I think that's it.
Yeah.
Yes.
Subject to the same.
Steve.
I say we pray to God.
Ever.
Okay.
Thank you.
This is the lecture.
In the next lecture, we will learn in the Python class.
Okay.
Thank you.
See you then.