What do these mean of: @classmethod and @staticmethod
1741
19-Jul-2018
Updated on 17-Sep-2020
Prakash nidhi Verma
19-Jul-2018These are decorators. A decorator is a special kind of function that either takes a function and returns a function, or takes a class and returns a class. The @ symbol is just syntactic sugar that easy in read.