結果 : is not defined error in python