結果 : self is not defined in python