Source Code:
(back to article)
class MyClass: @staticmethod def static_method(): # This is a static method print("This is a static method") instance = MyClass() instance.static_method()
Result:
Report an issue