Why could I be experiencing an unresolved reference error in Python?

  Kiến thức lập trình

Unresolved reference error with the code below; I’ve included all the references in the same file, however, I’m still getting an error

class sample:
@staticmethod
def some_method():
    print("Hello World")
@staticmethod
def some_method2():
    some_method()

LEAVE A COMMENT