The class method is a way to define a function for the Python class. When we create the python classmethod, then the first argument of the class method is implicitly cls.