結果 : name self is not defined error in python