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