r/learnpython • u/Forward-Ride2950 • 20d ago
Trying to understand Class, Object, Instance, and self in Python. Is my understanding correct?
I'm currently learning OOP in Python and wrote down some questions regarding object and instance for following code
=
= ```
1) is ?
:- is
2) is ?
:- is and is
3) ?
:- is in is and
pass
53
Upvotes
View all comments
Show parent comment
1
u/Forward-Ride2950 20d ago edited 20d ago
From the few books I have read and to my understanding we create object from class cause we want diffrent property of that class