結果 : python variable not defined in function