結果 : python variable not defined outside function