class method is a method that is bound to a class rather than its object. It doesn't require creation of a class instance much like static method
DIFFERENCE BETWEEN CLASS METHOD AND STATICS METHOD
- Static method knows nothing about the class and just deals with the parameters
- Class method works with the class since its parameter is always the class itself.
class method can be called by the class and its object.
Class.classmethod()
OR
Class().classmethod()
these both method are very frequently used in python and it is one of the essential concept of python.it is very necessary to understand the concept of class method and statics method for having good experience and skill with regards to python.