Learning OOPs in Python
I was just learning how to build classes in Python. This code is motivated from the Corey Schafer tutorial on YouTube.
Conepts learnt
- Classes and Objects
- init(self) //initializer/constructor
- class methods and attributes
- inheritance
- dunder methods (init)
- regular(self), class(cls), and static methods
- @property decorator (to use method as an attribute)