Can you tell difference between the class attribute , class object and class instance?

it is getting confusion as all three are sounding similar
?

i m not able to see any example , the file which you have uploaded not able to see that ?

i m not able to understand the difference between attribute and instance and object ? pls explain with example

Hello @coding123c
These three terms of object oriented programming are unrelatable terms.
See when you create a class in python you declare some variables in that class some methods in it. So these variables which are directly declared inside the class are called class attributes.
These class attributes are shared by all instance of that class.
Now when you want to use the class defined the object is created which refers to creating a class instance. So instance is an object that belong to the class.
for example:
You define a class
class Book:
fontsize=9
pages=100
Now here there are two class attributed fontsize and pages.
You create the object of the class which is creating one instance of the class.
book1=Book()
book1.fontsize
so book1 is one object of Book class.
this will output 9 the value of attribute fontsize.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.