Write a blog post describing how object and class attributes work.

What’s a class attribute?

What’s an instance attribute and the ways to create them?

What is the Pythonic way to create them..!!

What are the differences between class and instance attributes?

What are the advantages and drawbacks of class and instance Attributes?

Advantages of class attributes:

Disadvantages of class attributes:

Advantages of instance attributes:

Disadvantages of instance attributes:

How does Python deal with the object and class attributes using the __dict__



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store