In one game.
This session we were learning how to create a class in Python.
And a first, let's learn some terms classes and objects.
We look at objects.
What's the object?
Ping pong is an object oriented programming language.
I object.
These are simply a collection of properties or attributes.
Thus means data variables.
Yeah.
And methods.
Methods.
Uri mean functions.
So in python everything is.
Object.
Yeah.
The variables and the functions.
Let's see.
What's the class?
A class is a set or category of things with a similar properties or attributes being terminology.
A class is something is object, constructor or blueprint for creating objects.
A class defined a structure, a property, and the behavior of an object.
An object is one of the East hens in the class which can perform the functionalities defined in the
cloth.
Just know we said if.
Blueprint up a host is a plus.
For example, ozone created from these blue print objects.
As a blueprint and produce many horses across and.
Great many objects.
Here is the general description of the.
Class and.
Objects.
Okay.
No.
Let's see how to create plus.
I'd be waiting to step on the steps.
Or this quiet.
The process of creating a class.
Suppose we will create a class or person be called or human being because a person or human being.
The class, the prison class.
There were many things.
Yeah, I see.
Similar.
You can see there are a lot of similarities.
Yeah.
Similar excuse.
All the characteristics they.
Well, create a class.
We use the keyword class.
Okay.
Let's say we create a class.
It's very easy.
We just use class.
Class?
The name.
Last name is Percy.
Just like the punk scene we define.
But here's what class we use.
Class.
The class in the.
Okay.
No less, right.
And see what's happened.
You'll see if there are some errors because we can't run a class like these.
They're sort of some content.
Here.
We just.
We'd empty wine, we add.
Plus this means we will add some content later.
No.
We adjust.
They are quite empty.
The empty class hit no less for.
No.
You see, if we call the boss.
Syntax error, not across the person.
It is very costly.
You see, it showed us the main purchasing objective and yet there as a person object.
Okay.
Uh, this is a lecture.
For the next lecture, we will see how to create.
Objects grew the objects they.
Thank you.
See you then.