Using @classmethod in python

Using @classmethod in python
0

i will need some few help on the explanation of what @classmethod is all about

It’s a method that is passed the class as the first argument rather than the instance (usually called self). In other languages like Java or C#, this is usually called a “static method”, but python has a different interpretation of that term.