In Python, when creating a non-static member method of a class, python implicitly passes the object into the member method. code example
Example 1: static methods in python
class Calculator:
# create addNumbers static method
@staticmethod
def addNumbers(x, y):
return x + y
print('Product:', Calculator.addNumbers(15, 110))
Example 2: class methods in python
@classmethod
def func(cls, args...)