結果 : python variable not defined in for loop