classmethod() in Python Syntax
Syntax: classmethod(function)
Parameter :This function accepts the function name as a parameter.
Return Type:This function returns the converted class method.
classmethod() in Python
The classmethod() is an inbuilt function in Python, which returns a class method for a given function.