I got a bit confused with class methods:
Consider the following example
class A:
number = 0
def add_int_n(n: int) -> int:
return A.number + n
@classmethod
def add_int_m(cls, m: int) -> int:
return cls.number + m
@staticmethod
def add_int_k(cls, k: int) -> int:
return cls.number + k
I notice the former and the last ones are of class function whereas the second is of class method. What are the fundamental differences between the two (if any)?